public final class BinaryClassDefinitionProxy extends Object implements ClassDefinition
Modifier and Type | Field and Description |
---|---|
protected int |
classId |
protected int |
factoryId |
protected int |
version |
Constructor and Description |
---|
BinaryClassDefinitionProxy(int factoryId,
int classId,
int version,
byte[] binary) |
Modifier and Type | Method and Description |
---|---|
FieldDefinition |
get(int fieldIndex) |
FieldDefinition |
get(String name) |
byte[] |
getBinary() |
int |
getClassId() |
int |
getFactoryId() |
int |
getFieldClassId(String fieldName) |
int |
getFieldCount() |
Set<String> |
getFieldNames() |
FieldType |
getFieldType(String fieldName) |
int |
getVersion() |
boolean |
hasField(String fieldName) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
ClassDefinition |
toReal(SerializationContext context) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId, getFactoryId, getVersion
protected int factoryId
protected int classId
protected int version
public BinaryClassDefinitionProxy(int factoryId, int classId, int version, byte[] binary)
public ClassDefinition toReal(SerializationContext context) throws IOException
IOException
public FieldDefinition get(String name)
get
in interface ClassDefinition
public FieldDefinition get(int fieldIndex)
get
in interface ClassDefinition
public boolean hasField(String fieldName)
hasField
in interface ClassDefinition
public Set<String> getFieldNames()
getFieldNames
in interface ClassDefinition
public FieldType getFieldType(String fieldName)
getFieldType
in interface ClassDefinition
public int getFieldClassId(String fieldName)
getFieldClassId
in interface ClassDefinition
public int getFieldCount()
getFieldCount
in interface ClassDefinition
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
public final int getFactoryId()
getFactoryId
in interface ClassDefinition
public final int getClassId()
getClassId
in interface ClassDefinition
public final int getVersion()
getVersion
in interface ClassDefinition
public final byte[] getBinary()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.