Package org.gridgain.internal.dr.binary
Class BinaryObject
java.lang.Object
org.gridgain.internal.dr.binary.BinaryObject
- All Implemented Interfaces:
CacheObject
Binary object implementation.
-
Method Summary
Modifier and TypeMethodDescription<F> FfieldByOrder(int order) Get field by order as it defined in object BinarySchema.booleanReturnstrueif object has schema,falseotherwise.Reads and returns binary object schema from the object itself.intschemaId()Get binary object schema id.inttypeId()Returns type ID.
-
Method Details
-
typeId
public int typeId()Returns type ID. -
fieldByOrder
@Nullable public <F> F fieldByOrder(int order) Get field by order as it defined in object BinarySchema. -
hasSchema
public boolean hasSchema()Returnstrueif object has schema,falseotherwise. -
schemaId
public int schemaId()Get binary object schema id. -
readSchema
Reads and returns binary object schema from the object itself.
-