public class BinaryCachingMetadataHandler extends Object implements BinaryMetadataHandler
Modifier and Type | Method and Description |
---|---|
void |
addMeta(int typeId,
BinaryType type)
Adds meta data.
|
static BinaryCachingMetadataHandler |
create()
Create new handler instance.
|
BinaryType |
metadata(int typeId)
Gets meta data for provided type ID.
|
BinaryType |
metadata(int typeId,
int schemaId)
Gets metadata for provided type ID and schema ID.
|
public static BinaryCachingMetadataHandler create()
public void addMeta(int typeId, BinaryType type) throws BinaryObjectException
addMeta
in interface BinaryMetadataHandler
typeId
- Type ID.type
- Metadata.BinaryObjectException
- In case of error.public BinaryType metadata(int typeId) throws BinaryObjectException
metadata
in interface BinaryMetadataHandler
typeId
- Type ID.BinaryObjectException
- In case of error.public BinaryType metadata(int typeId, int schemaId) throws BinaryObjectException
metadata
in interface BinaryMetadataHandler
typeId
- Type ID.schemaId
- Schema ID.BinaryObjectException
- In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017