public final class BinaryClassDefinitionProxy extends Object implements ClassDefinition
Constructor and Description |
---|
BinaryClassDefinitionProxy(int factoryId,
int classId,
int version) |
BinaryClassDefinitionProxy(int factoryId,
int classId,
int version,
byte[] binary) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinary() |
int |
getClassId() |
int |
getFactoryId() |
FieldDefinition |
getField(int fieldIndex) |
FieldDefinition |
getField(String name) |
int |
getFieldClassId(String fieldName) |
int |
getFieldCount() |
Set<String> |
getFieldNames() |
FieldType |
getFieldType(String fieldName) |
int |
getFieldVersion(String fieldName) |
int |
getVersion() |
boolean |
hasField(String fieldName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId, getFactoryId, getVersion
public BinaryClassDefinitionProxy(int factoryId, int classId, int version)
public BinaryClassDefinitionProxy(int factoryId, int classId, int version, byte[] binary)
public FieldDefinition getField(String name)
getField
in interface ClassDefinition
name
- name of the fieldpublic FieldDefinition getField(int fieldIndex)
getField
in interface ClassDefinition
fieldIndex
- index of the fieldpublic boolean hasField(String fieldName)
hasField
in interface ClassDefinition
fieldName
- field namepublic Set<String> getFieldNames()
getFieldNames
in interface ClassDefinition
public FieldType getFieldType(String fieldName)
getFieldType
in interface ClassDefinition
fieldName
- name of the fieldpublic int getFieldClassId(String fieldName)
getFieldClassId
in interface ClassDefinition
fieldName
- name of the fieldpublic int getFieldVersion(String fieldName)
public int getFieldCount()
getFieldCount
in interface ClassDefinition
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 © 2014 Hazelcast, Inc.. All Rights Reserved.