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) |
void |
updateMetadata(int typeId,
String typeName,
String affKeyFieldName,
Map<String,Integer> fieldTypeIds,
boolean isEnum) |
affinityField, contextForCache, field, hasField, immutable, isBinaryEnabled, isBinaryObject, marshal, onContinuousProcessorStarted, onUtilityCacheStarted, prepareForCache, toCacheKeyObject, toCacheObject, toCacheObject, toCacheObject, typeId, typeId, unmarshal, unwrapTemporarycollectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNodeBinaryObjectBuilder 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,Integer> 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.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 IgniteCacheObjectProcessorIgniteException - If failed.Object marshalToBinary(Object obj) throws IgniteException
obj - Original object.IgniteException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016