Package org.apache.ignite.binary
Interface BinaryRawWriter
- 
 public interface BinaryRawWriterRaw writer for binary object. Raw writer does not write field name hash codes, therefore, making the format even more compact. However, if the raw writer is used, dynamic structure changes to the binary objects are not supported.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteBoolean(boolean val)voidwriteBooleanArray(@org.jetbrains.annotations.Nullable boolean[] val)voidwriteByte(byte val)voidwriteByteArray(@org.jetbrains.annotations.Nullable byte[] val)voidwriteChar(char val)voidwriteCharArray(@org.jetbrains.annotations.Nullable char[] val)<T> voidwriteCollection(@Nullable Collection<T> col)voidwriteDate(@Nullable Date val)voidwriteDateArray(@Nullable Date[] val)voidwriteDecimal(@Nullable BigDecimal val)voidwriteDecimalArray(@Nullable BigDecimal[] val)voidwriteDouble(double val)voidwriteDoubleArray(@org.jetbrains.annotations.Nullable double[] val)<T extends Enum<?>>
 voidwriteEnum(T val)<T extends Enum<?>>
 voidwriteEnumArray(T[] val)voidwriteFloat(float val)voidwriteFloatArray(@org.jetbrains.annotations.Nullable float[] val)voidwriteInt(int val)voidwriteIntArray(@org.jetbrains.annotations.Nullable int[] val)voidwriteLong(long val)voidwriteLongArray(@org.jetbrains.annotations.Nullable long[] val)<K,V>
 voidwriteMap(@Nullable Map<K,V> map)voidwriteObject(@Nullable Object obj)voidwriteObjectArray(@Nullable Object[] val)voidwriteShort(short val)voidwriteShortArray(@org.jetbrains.annotations.Nullable short[] val)voidwriteString(@Nullable String val)voidwriteStringArray(@Nullable String[] val)voidwriteTime(@Nullable Time val)voidwriteTimeArray(@Nullable Time[] val)voidwriteTimestamp(@Nullable Timestamp val)voidwriteTimestampArray(@Nullable Timestamp[] val)voidwriteUuid(@Nullable UUID val)voidwriteUuidArray(@Nullable UUID[] val)
 
- 
- 
- 
Method Detail- 
writeBytevoid writeByte(byte val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeShortvoid writeShort(short val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeIntvoid writeInt(int val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeLongvoid writeLong(long val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeFloatvoid writeFloat(float val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDoublevoid writeDouble(double val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeCharvoid writeChar(char val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeBooleanvoid writeBoolean(boolean val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDecimalvoid writeDecimal(@Nullable @Nullable BigDecimal val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeStringvoid writeString(@Nullable @Nullable String val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeUuidvoid writeUuid(@Nullable @Nullable UUID val) throws BinaryObjectException- Parameters:
- val- UUID to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDatevoid writeDate(@Nullable @Nullable Date val) throws BinaryObjectException- Parameters:
- val- Date to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeTimestampvoid writeTimestamp(@Nullable @Nullable Timestamp val) throws BinaryObjectException- Parameters:
- val- Timestamp to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeTimevoid writeTime(@Nullable @Nullable Time val) throws BinaryObjectException- Parameters:
- val- Time to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeObjectvoid writeObject(@Nullable @Nullable Object obj) throws BinaryObjectException- Parameters:
- obj- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeByteArrayvoid writeByteArray(@Nullable @org.jetbrains.annotations.Nullable byte[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeShortArrayvoid writeShortArray(@Nullable @org.jetbrains.annotations.Nullable short[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeIntArrayvoid writeIntArray(@Nullable @org.jetbrains.annotations.Nullable int[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeLongArrayvoid writeLongArray(@Nullable @org.jetbrains.annotations.Nullable long[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeFloatArrayvoid writeFloatArray(@Nullable @org.jetbrains.annotations.Nullable float[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDoubleArrayvoid writeDoubleArray(@Nullable @org.jetbrains.annotations.Nullable double[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeCharArrayvoid writeCharArray(@Nullable @org.jetbrains.annotations.Nullable char[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeBooleanArrayvoid writeBooleanArray(@Nullable @org.jetbrains.annotations.Nullable boolean[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDecimalArrayvoid writeDecimalArray(@Nullable @Nullable BigDecimal[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeStringArrayvoid writeStringArray(@Nullable @Nullable String[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeUuidArrayvoid writeUuidArray(@Nullable @Nullable UUID[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeDateArrayvoid writeDateArray(@Nullable @Nullable Date[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeTimestampArrayvoid writeTimestampArray(@Nullable @Nullable Timestamp[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeTimeArrayvoid writeTimeArray(@Nullable @Nullable Time[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeObjectArrayvoid writeObjectArray(@Nullable @Nullable Object[] val) throws BinaryObjectException- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeCollection<T> void writeCollection(@Nullable @Nullable Collection<T> col) throws BinaryObjectException- Type Parameters:
- T- Type of elements in collection to write.
- Parameters:
- col- Collection to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeMap<K,V> void writeMap(@Nullable @Nullable Map<K,V> map) throws BinaryObjectException- Type Parameters:
- K- Type of keys in the map to write.
- V- Type of mapped values in the map to write.
- Parameters:
- map- Map to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeEnum<T extends Enum<?>> void writeEnum(T val) throws BinaryObjectException - Type Parameters:
- T- Type of the enum to write.
- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 - 
writeEnumArray<T extends Enum<?>> void writeEnumArray(T[] val) throws BinaryObjectException - Type Parameters:
- T- Type of the enum values in array to write.
- Parameters:
- val- Value to write.
- Throws:
- BinaryObjectException- In case of error.
 
 
- 
 
-