Package org.gridgain.internal.dr.binary
Class BinaryContext
java.lang.Object
org.gridgain.internal.dr.binary.BinaryContext
Binary context holds binary metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BinaryMetadatabinaryMetadata(int typeId) Returns binary type metadata by given type id, ornullif was not found.binarySchemas(int typeId) Returns registered binary object schemas by type id.voidregisterBinaryMetadata(long version, BinaryMetadata metadata) Registers binary type metadata.voidregisterBinarySchema(int typeId, BinarySchema schema) Registers binary object schema for given binary type id.@Nullable BinarySchemaschema(int typeId, int schemaId) Returns a schema for a binary type by given type id and schema id, ornullif a binary type metadata or a schema wasn't found.intReturns a type id by given class name.
-
Constructor Details
-
BinaryContext
public BinaryContext()
-
-
Method Details
-
schema
Returns a schema for a binary type by given type id and schema id, ornullif a binary type metadata or a schema wasn't found. -
typeId
Returns a type id by given class name. -
binaryMetadata
Returns binary type metadata by given type id, ornullif was not found. -
binarySchemas
Returns registered binary object schemas by type id. -
registerBinaryMetadata
Registers binary type metadata. -
registerBinarySchema
Registers binary object schema for given binary type id.
-