com.hazelcast.nio.serialization
public final class ClassDefinitionBuilder extends Object
Constructor and Description |
---|
ClassDefinitionBuilder(int factoryId,
int classId) |
ClassDefinitionBuilder(int factoryId,
int classId,
int version) |
public ClassDefinitionBuilder(int factoryId, int classId)
public ClassDefinitionBuilder(int factoryId, int classId, int version)
public ClassDefinitionBuilder addIntField(String fieldName)
public ClassDefinitionBuilder addLongField(String fieldName)
public ClassDefinitionBuilder addUTFField(String fieldName)
public ClassDefinitionBuilder addBooleanField(String fieldName)
public ClassDefinitionBuilder addByteField(String fieldName)
public ClassDefinitionBuilder addCharField(String fieldName)
public ClassDefinitionBuilder addDoubleField(String fieldName)
public ClassDefinitionBuilder addFloatField(String fieldName)
public ClassDefinitionBuilder addShortField(String fieldName)
public ClassDefinitionBuilder addByteArrayField(String fieldName)
public ClassDefinitionBuilder addCharArrayField(String fieldName)
public ClassDefinitionBuilder addIntArrayField(String fieldName)
public ClassDefinitionBuilder addLongArrayField(String fieldName)
public ClassDefinitionBuilder addDoubleArrayField(String fieldName)
public ClassDefinitionBuilder addFloatArrayField(String fieldName)
public ClassDefinitionBuilder addShortArrayField(String fieldName)
public ClassDefinitionBuilder addPortableField(String fieldName, ClassDefinition def)
public ClassDefinitionBuilder addPortableArrayField(String fieldName, ClassDefinition def)
public ClassDefinition build()
public int getFactoryId()
public int getClassId()
public int getVersion()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.