public interface CacheObjectBinaryProcessor extends IgniteCacheObjectProcessor
GridComponent.DiscoveryDataExchangeType
Modifier and Type | Method and Description |
---|---|
void |
addMeta(int typeId,
BinaryType newMeta) |
IgniteBinary |
binary() |
BinaryObject |
buildEnum(String typeName,
int ord) |
BinaryObjectBuilder |
builder(BinaryObject binaryObj)
Creates builder initialized by existing binary object.
|
BinaryObjectBuilder |
builder(String clsName) |
Object |
marshalToBinary(Object obj) |
Collection<BinaryType> |
metadata() |
Map<Integer,BinaryType> |
metadata(Collection<Integer> typeIds) |
BinaryType |
metadata(int typeId) |
BinaryType |
metadata(int typeId,
int schemaId) |
void |
updateMetadata(int typeId,
String typeName,
String affKeyFieldName,
Map<String,BinaryFieldMetadata> fieldTypeIds,
boolean isEnum) |
affinityField, contextForCache, field, hasField, immutable, isBinaryEnabled, isBinaryObject, marshal, onContinuousProcessorStarted, onUtilityCacheStarted, prepareForCache, toCacheKeyObject, toCacheObject, toCacheObject, toCacheObject, toCacheObject, toKeyCacheObject, toKeyCacheObject, typeId, typeId, unmarshal, unwrapTemporary
collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNode
BinaryObjectBuilder builder(String clsName)
clsName
- Class name.BinaryObjectBuilder builder(BinaryObject binaryObj)
binaryObj
- Binary object to edit.void addMeta(int typeId, BinaryType newMeta) throws IgniteException
typeId
- Type ID.newMeta
- New meta data.IgniteException
- In case of error.void updateMetadata(int typeId, String typeName, @Nullable String affKeyFieldName, Map<String,BinaryFieldMetadata> fieldTypeIds, boolean isEnum) throws IgniteException
typeId
- Type ID.typeName
- Type name.affKeyFieldName
- Affinity key field name.fieldTypeIds
- Fields map.isEnum
- Enum flag.IgniteException
- In case of error.@Nullable BinaryType metadata(int typeId) throws IgniteException
typeId
- Type ID.IgniteException
- In case of error.@Nullable BinaryType metadata(int typeId, int schemaId) throws IgniteException
typeId
- Type ID.schemaId
- Schema ID.IgniteException
- In case of error.Map<Integer,BinaryType> metadata(Collection<Integer> typeIds) throws IgniteException
typeIds
- Type ID.IgniteException
- In case of error.Collection<BinaryType> metadata() throws IgniteException
IgniteException
- In case of error.BinaryObject buildEnum(String typeName, int ord) throws IgniteException
typeName
- Type name.ord
- ordinal.IgniteException
- If failed.IgniteBinary binary() throws IgniteException
binary
in interface IgniteCacheObjectProcessor
IgniteException
- If failed.Object marshalToBinary(Object obj) throws IgniteException
obj
- Original object.IgniteException
- If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017