Package | Description |
---|---|
org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
org.apache.ignite.binary |
Contains Ignite Binary Objects API classes.
|
org.apache.ignite.lang |
Contains general language constructs and functional APIs for distributed computations.
|
Modifier and Type | Method and Description |
---|---|
BinaryObject |
IgniteBinary.buildEnum(String typeName,
int ord)
Create enum object using value.
|
BinaryObject |
IgniteBinary.buildEnum(String typeName,
String name)
Create enum object using name.
|
BinaryObjectBuilder |
IgniteBinary.builder(BinaryObject binaryObj)
Creates binary builder initialized by existing binary object.
|
BinaryObjectBuilder |
IgniteBinary.builder(String typeName)
Creates new binary builder.
|
BinaryType |
IgniteBinary.registerClass(Class<?> cls)
Register binary type for specified class.
|
BinaryType |
IgniteBinary.registerEnum(String typeName,
Map<String,Integer> vals)
Register enum type.
|
<T> T |
IgniteBinary.toBinary(@Nullable Object obj)
Converts provided object to instance of
BinaryObject . |
BinaryType |
IgniteBinary.type(Class<?> cls)
Gets metadata for provided class.
|
BinaryType |
IgniteBinary.type(int typeId)
Gets metadata for provided type ID.
|
BinaryType |
IgniteBinary.type(String typeName)
Gets metadata for provided class name.
|
Collection<BinaryType> |
IgniteBinary.types()
Gets metadata for all known types.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryInvalidTypeException
Exception indicating that class needed for deserialization of binary object does not exist.
|
Modifier and Type | Method and Description |
---|---|
BinaryObject |
BinaryObjectBuilder.build()
Builds binary object.
|
<T> T |
BinaryObject.deserialize()
Gets fully deserialized instance of binary object.
|
<T> T |
BinaryObject.deserialize(ClassLoader ldr)
Gets fully deserialized instance of binary object.
|
String |
BinaryObject.enumName()
Get name for this enum object.
|
int |
BinaryObject.enumOrdinal()
Get ordinal for this enum object.
|
<F> F |
BinaryObject.field(String fieldName)
Gets field value.
|
void |
Binarylizable.readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
BinaryReflectiveSerializer.readBinary(Object obj,
BinaryReader reader)
Reads fields from provided reader.
|
void |
BinarySerializer.readBinary(Object obj,
BinaryReader reader)
Reads fields from provided reader.
|
boolean |
BinaryRawReader.readBoolean() |
boolean |
BinaryReader.readBoolean(String fieldName) |
@Nullable boolean[] |
BinaryRawReader.readBooleanArray() |
boolean[] |
BinaryReader.readBooleanArray(String fieldName) |
byte |
BinaryRawReader.readByte() |
byte |
BinaryReader.readByte(String fieldName) |
@Nullable byte[] |
BinaryRawReader.readByteArray() |
byte[] |
BinaryReader.readByteArray(String fieldName) |
char |
BinaryRawReader.readChar() |
char |
BinaryReader.readChar(String fieldName) |
@Nullable char[] |
BinaryRawReader.readCharArray() |
char[] |
BinaryReader.readCharArray(String fieldName) |
<T> @Nullable Collection<T> |
BinaryRawReader.readCollection() |
<T> @Nullable Collection<T> |
BinaryRawReader.readCollection(BinaryCollectionFactory<T> factory) |
<T> Collection<T> |
BinaryReader.readCollection(String fieldName) |
<T> Collection<T> |
BinaryReader.readCollection(String fieldName,
BinaryCollectionFactory<T> factory) |
@Nullable Date |
BinaryRawReader.readDate() |
Date |
BinaryReader.readDate(String fieldName) |
@Nullable Date[] |
BinaryRawReader.readDateArray() |
Date[] |
BinaryReader.readDateArray(String fieldName) |
@Nullable BigDecimal |
BinaryRawReader.readDecimal() |
BigDecimal |
BinaryReader.readDecimal(String fieldName) |
@Nullable BigDecimal[] |
BinaryRawReader.readDecimalArray() |
BigDecimal[] |
BinaryReader.readDecimalArray(String fieldName) |
double |
BinaryRawReader.readDouble() |
double |
BinaryReader.readDouble(String fieldName) |
@Nullable double[] |
BinaryRawReader.readDoubleArray() |
double[] |
BinaryReader.readDoubleArray(String fieldName) |
<T extends Enum<?>> |
BinaryRawReader.readEnum() |
<T extends Enum<?>> |
BinaryReader.readEnum(String fieldName) |
<T extends Enum<?>> |
BinaryRawReader.readEnumArray() |
<T extends Enum<?>> |
BinaryReader.readEnumArray(String fieldName) |
float |
BinaryRawReader.readFloat() |
float |
BinaryReader.readFloat(String fieldName) |
@Nullable float[] |
BinaryRawReader.readFloatArray() |
float[] |
BinaryReader.readFloatArray(String fieldName) |
int |
BinaryRawReader.readInt() |
int |
BinaryReader.readInt(String fieldName) |
@Nullable int[] |
BinaryRawReader.readIntArray() |
int[] |
BinaryReader.readIntArray(String fieldName) |
long |
BinaryRawReader.readLong() |
long |
BinaryReader.readLong(String fieldName) |
@Nullable long[] |
BinaryRawReader.readLongArray() |
long[] |
BinaryReader.readLongArray(String fieldName) |
<K,V> @Nullable Map<K,V> |
BinaryRawReader.readMap() |
<K,V> @Nullable Map<K,V> |
BinaryRawReader.readMap(BinaryMapFactory<K,V> factory) |
<K,V> Map<K,V> |
BinaryReader.readMap(String fieldName) |
<K,V> Map<K,V> |
BinaryReader.readMap(String fieldName,
BinaryMapFactory<K,V> factory) |
<T> T |
BinaryRawReader.readObject() |
<T> T |
BinaryReader.readObject(String fieldName) |
@Nullable Object[] |
BinaryRawReader.readObjectArray() |
Object[] |
BinaryReader.readObjectArray(String fieldName) |
short |
BinaryRawReader.readShort() |
short |
BinaryReader.readShort(String fieldName) |
@Nullable short[] |
BinaryRawReader.readShortArray() |
short[] |
BinaryReader.readShortArray(String fieldName) |
@Nullable String |
BinaryRawReader.readString() |
String |
BinaryReader.readString(String fieldName) |
@Nullable String[] |
BinaryRawReader.readStringArray() |
String[] |
BinaryReader.readStringArray(String fieldName) |
@Nullable Time |
BinaryRawReader.readTime() |
Time |
BinaryReader.readTime(String fieldName) |
@Nullable Time[] |
BinaryRawReader.readTimeArray() |
Time[] |
BinaryReader.readTimeArray(String fieldName) |
@Nullable Timestamp |
BinaryRawReader.readTimestamp() |
Timestamp |
BinaryReader.readTimestamp(String fieldName) |
@Nullable Timestamp[] |
BinaryRawReader.readTimestampArray() |
Timestamp[] |
BinaryReader.readTimestampArray(String fieldName) |
@Nullable UUID |
BinaryRawReader.readUuid() |
UUID |
BinaryReader.readUuid(String fieldName) |
@Nullable UUID[] |
BinaryRawReader.readUuidArray() |
UUID[] |
BinaryReader.readUuidArray(String fieldName) |
BinaryObjectBuilder |
BinaryObject.toBuilder()
Creates a new
BinaryObjectBuilder based on this binary object. |
BinaryType |
BinaryObject.type()
Gets type information for this binary object.
|
void |
Binarylizable.writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
void |
BinaryReflectiveSerializer.writeBinary(Object obj,
BinaryWriter writer)
Writes fields to provided writer.
|
void |
BinarySerializer.writeBinary(Object obj,
BinaryWriter writer)
Writes fields to provided writer.
|
void |
BinaryRawWriter.writeBoolean(boolean val) |
void |
BinaryWriter.writeBoolean(String fieldName,
boolean val) |
void |
BinaryRawWriter.writeBooleanArray(@Nullable boolean[] val) |
void |
BinaryWriter.writeBooleanArray(String fieldName,
@Nullable boolean[] val) |
void |
BinaryRawWriter.writeByte(byte val) |
void |
BinaryWriter.writeByte(String fieldName,
byte val) |
void |
BinaryRawWriter.writeByteArray(@Nullable byte[] val) |
void |
BinaryWriter.writeByteArray(String fieldName,
@Nullable byte[] val) |
void |
BinaryRawWriter.writeChar(char val) |
void |
BinaryWriter.writeChar(String fieldName,
char val) |
void |
BinaryRawWriter.writeCharArray(@Nullable char[] val) |
void |
BinaryWriter.writeCharArray(String fieldName,
@Nullable char[] val) |
<T> void |
BinaryRawWriter.writeCollection(@Nullable Collection<T> col) |
<T> void |
BinaryWriter.writeCollection(String fieldName,
@Nullable Collection<T> col) |
void |
BinaryRawWriter.writeDate(@Nullable Date val) |
void |
BinaryWriter.writeDate(String fieldName,
@Nullable Date val) |
void |
BinaryRawWriter.writeDateArray(@Nullable Date[] val) |
void |
BinaryWriter.writeDateArray(String fieldName,
@Nullable Date[] val) |
void |
BinaryRawWriter.writeDecimal(@Nullable BigDecimal val) |
void |
BinaryWriter.writeDecimal(String fieldName,
@Nullable BigDecimal val) |
void |
BinaryRawWriter.writeDecimalArray(@Nullable BigDecimal[] val) |
void |
BinaryWriter.writeDecimalArray(String fieldName,
@Nullable BigDecimal[] val) |
void |
BinaryRawWriter.writeDouble(double val) |
void |
BinaryWriter.writeDouble(String fieldName,
double val) |
void |
BinaryRawWriter.writeDoubleArray(@Nullable double[] val) |
void |
BinaryWriter.writeDoubleArray(String fieldName,
@Nullable double[] val) |
<T extends Enum<?>> |
BinaryWriter.writeEnum(String fieldName,
T val) |
<T extends Enum<?>> |
BinaryRawWriter.writeEnum(T val) |
<T extends Enum<?>> |
BinaryWriter.writeEnumArray(String fieldName,
T[] val) |
<T extends Enum<?>> |
BinaryRawWriter.writeEnumArray(T[] val) |
void |
BinaryRawWriter.writeFloat(float val) |
void |
BinaryWriter.writeFloat(String fieldName,
float val) |
void |
BinaryRawWriter.writeFloatArray(@Nullable float[] val) |
void |
BinaryWriter.writeFloatArray(String fieldName,
@Nullable float[] val) |
void |
BinaryRawWriter.writeInt(int val) |
void |
BinaryWriter.writeInt(String fieldName,
int val) |
void |
BinaryRawWriter.writeIntArray(@Nullable int[] val) |
void |
BinaryWriter.writeIntArray(String fieldName,
@Nullable int[] val) |
void |
BinaryRawWriter.writeLong(long val) |
void |
BinaryWriter.writeLong(String fieldName,
long val) |
void |
BinaryRawWriter.writeLongArray(@Nullable long[] val) |
void |
BinaryWriter.writeLongArray(String fieldName,
@Nullable long[] val) |
<K,V> void |
BinaryRawWriter.writeMap(@Nullable Map<K,V> map) |
<K,V> void |
BinaryWriter.writeMap(String fieldName,
@Nullable Map<K,V> map) |
void |
BinaryRawWriter.writeObject(@Nullable Object obj) |
void |
BinaryWriter.writeObject(String fieldName,
@Nullable Object obj) |
void |
BinaryRawWriter.writeObjectArray(@Nullable Object[] val) |
void |
BinaryWriter.writeObjectArray(String fieldName,
@Nullable Object[] val) |
void |
BinaryRawWriter.writeShort(short val) |
void |
BinaryWriter.writeShort(String fieldName,
short val) |
void |
BinaryRawWriter.writeShortArray(@Nullable short[] val) |
void |
BinaryWriter.writeShortArray(String fieldName,
@Nullable short[] val) |
void |
BinaryRawWriter.writeString(@Nullable String val) |
void |
BinaryWriter.writeString(String fieldName,
@Nullable String val) |
void |
BinaryRawWriter.writeStringArray(@Nullable String[] val) |
void |
BinaryWriter.writeStringArray(String fieldName,
@Nullable String[] val) |
void |
BinaryWriter.writeTime(String fieldName,
@Nullable Time val) |
void |
BinaryRawWriter.writeTime(@Nullable Time val) |
void |
BinaryWriter.writeTimeArray(String fieldName,
@Nullable Time[] val) |
void |
BinaryRawWriter.writeTimeArray(@Nullable Time[] val) |
void |
BinaryWriter.writeTimestamp(String fieldName,
@Nullable Timestamp val) |
void |
BinaryRawWriter.writeTimestamp(@Nullable Timestamp val) |
void |
BinaryWriter.writeTimestampArray(String fieldName,
@Nullable Timestamp[] val) |
void |
BinaryRawWriter.writeTimestampArray(@Nullable Timestamp[] val) |
void |
BinaryWriter.writeUuid(String fieldName,
@Nullable UUID val) |
void |
BinaryRawWriter.writeUuid(@Nullable UUID val) |
void |
BinaryWriter.writeUuidArray(String fieldName,
@Nullable UUID[] val) |
void |
BinaryRawWriter.writeUuidArray(@Nullable UUID[] val) |
Modifier and Type | Method and Description |
---|---|
void |
IgniteUuid.readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
IgniteUuid.writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023