Package | Description |
---|---|
com.gemstone.gemfire.pdx |
The
com.gemstone.gemfire.pdx package provides APIs used
for object serialization. |
Modifier and Type | Method and Description |
---|---|
PdxWriter |
PdxWriter.markIdentityField(String fieldName)
Indicate that the named field should be included in hashCode and equals checks
of this object on a server that is accessing
PdxInstance
or when a client executes a query on a server. |
PdxWriter |
PdxWriter.writeArrayOfByteArrays(String fieldName,
byte[][] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeBoolean(String fieldName,
boolean value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeBooleanArray(String fieldName,
boolean[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeByte(String fieldName,
byte value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeByteArray(String fieldName,
byte[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeChar(String fieldName,
char value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeCharArray(String fieldName,
char[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeDate(String fieldName,
Date value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeDouble(String fieldName,
double value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeDoubleArray(String fieldName,
double[] value)
Writes the named field with the given value to the serialized form.
|
<CT,VT extends CT> |
PdxWriter.writeField(String fieldName,
VT fieldValue,
Class<CT> fieldType)
Writes the named field with the given value and type to the serialized form.
|
<CT,VT extends CT> |
PdxWriter.writeField(String fieldName,
VT fieldValue,
Class<CT> fieldType,
boolean checkPortability)
Writes the named field with the given value and type to the serialized form.
|
PdxWriter |
PdxWriter.writeFloat(String fieldName,
float value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeFloatArray(String fieldName,
float[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeInt(String fieldName,
int value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeIntArray(String fieldName,
int[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeLong(String fieldName,
long value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeLongArray(String fieldName,
long[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeObject(String fieldName,
Object value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeObject(String fieldName,
Object value,
boolean checkPortability)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeObjectArray(String fieldName,
Object[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeObjectArray(String fieldName,
Object[] value,
boolean checkPortability)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeShort(String fieldName,
short value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeShortArray(String fieldName,
short[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeString(String fieldName,
String value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeStringArray(String fieldName,
String[] value)
Writes the named field with the given value to the serialized form.
|
PdxWriter |
PdxWriter.writeUnreadFields(PdxUnreadFields unread)
Writes the given unread fields to the serialized form.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PdxSerializer.toData(Object o,
PdxWriter out)
This method is given an object to serialize as a PDX using the given writer.
|
boolean |
ReflectionBasedAutoSerializer.toData(Object obj,
PdxWriter writer)
Method implemented from
PdxSerializer which performs object
serialization. |
void |
PdxSerializable.toData(PdxWriter writer)
Serializes the PDX fields using the given writer.
|
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.