public class BinaryTypeConfiguration extends Object
IgniteConfiguration.setBinaryConfiguration(BinaryConfiguration).
However, this class allows you to change configuration properties for a specific
binary type without affecting configuration for other binary types.| Constructor and Description |
|---|
BinaryTypeConfiguration() |
BinaryTypeConfiguration(String typeName) |
| Modifier and Type | Method and Description |
|---|---|
BinaryIdMapper |
getIdMapper()
Gets ID mapper.
|
BinarySerializer |
getSerializer()
Gets serializer.
|
String |
getTypeName()
Gets type name.
|
boolean |
isEnum()
Gets whether this is enum type.
|
void |
setEnum(boolean isEnum)
Sets whether this is enum type.
|
void |
setIdMapper(BinaryIdMapper idMapper)
Sets ID mapper.
|
void |
setSerializer(BinarySerializer serializer)
Sets serializer.
|
void |
setTypeName(String typeName)
Sets type name.
|
String |
toString() |
public BinaryTypeConfiguration()
public BinaryTypeConfiguration(String typeName)
typeName - Class name.public String getTypeName()
public void setTypeName(String typeName)
typeName - Type name.public BinaryIdMapper getIdMapper()
public void setIdMapper(BinaryIdMapper idMapper)
idMapper - ID mapper.public BinarySerializer getSerializer()
public void setSerializer(BinarySerializer serializer)
serializer - Serializer.public boolean isEnum()
True if enum.public void setEnum(boolean isEnum)
isEnum - True if enum.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0-b1 Release Date : December 1 2015