Class BinaryClassDescriptor
- java.lang.Object
-
- org.apache.ignite.internal.binary.BinaryClassDescriptor
-
public class BinaryClassDescriptor extends Object
Binary class descriptor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexcluded()Checks whether the class values are explicitly excluded from marshalling.booleanisWriteReplace()booleanregistered()voidregisterStableSchema()Register current stable schema if applicable.StringtoString()inttypeId()booleanuseOptimizedMarshaller()ObjectwriteReplace(Object obj)Perform write replace.
-
-
-
Method Detail
-
typeId
public int typeId()
- Returns:
- Type ID.
-
registered
public boolean registered()
- Returns:
- Whether typeId has been successfully registered by MarshallerContext or not.
-
useOptimizedMarshaller
public boolean useOptimizedMarshaller()
- Returns:
trueifOptimizedMarshallermust be used instead ofBinaryMarshallerfor object serialization and deserialization.
-
excluded
public boolean excluded()
Checks whether the class values are explicitly excluded from marshalling.- Returns:
trueif excluded,falseotherwise.
-
isWriteReplace
public boolean isWriteReplace()
- Returns:
Trueif write-replace should be performed for class.
-
writeReplace
public Object writeReplace(Object obj)
Perform write replace.- Parameters:
obj- Original object.- Returns:
- Replaced object.
-
registerStableSchema
public void registerStableSchema()
Register current stable schema if applicable.
-
-