public interface ClassDefinition extends DataSerializable
ClassDefinitionBuilder
or ondemand during serialization phase.Portable
,
ClassDefinitionBuilder
Modifier and Type | Method and Description |
---|---|
FieldDefinition |
get(int fieldIndex) |
FieldDefinition |
get(String name) |
int |
getClassId() |
int |
getFactoryId() |
int |
getFieldClassId(String fieldName) |
int |
getFieldCount() |
Set<String> |
getFieldNames() |
FieldType |
getFieldType(String fieldName) |
int |
getFieldVersion(String fieldName) |
int |
getVersion() |
boolean |
hasField(String fieldName) |
readData, writeData
int getFactoryId()
FieldDefinition get(String name)
name
- name of the fieldFieldDefinition get(int fieldIndex)
fieldIndex
- index of the fieldIndexOutOfBoundsException
boolean hasField(String fieldName)
fieldName
- field nameSet<String> getFieldNames()
FieldType getFieldType(String fieldName)
fieldName
- name of the fieldIllegalArgumentException
int getFieldClassId(String fieldName)
fieldName
- name of the fieldIllegalArgumentException
int getFieldVersion(String fieldName)
fieldName
- name of the fieldIllegalArgumentException
int getFieldCount()
int getClassId()
int getVersion()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.