public interface BinaryType
IgniteBinary.type(String) methods.
Having metadata also allows for proper formatting of BinaryObject#toString() method,
even when binary objects are kept in binary format only, which may be necessary for audit reasons.| Modifier and Type | Method and Description |
|---|---|
String |
affinityKeyFieldName()
Binary objects can optionally specify custom key-affinity mapping in the
configuration.
|
BinaryField |
field(String fieldName)
Get
BinaryField for the given field name. |
Collection<String> |
fieldNames()
Gets collection of all field names for this binary type.
|
String |
fieldTypeName(String fieldName)
Gets name of the field type for a given field.
|
boolean |
isEnum()
Check whether type represents enum or not.
|
int |
typeId()
Gets binary type ID.
|
String |
typeName()
Gets binary type name.
|
String typeName()
int typeId()
Collection<String> fieldNames()
String fieldTypeName(String fieldName)
fieldName - Field name.BinaryField field(String fieldName)
BinaryField for the given field name. Later this field can be used for fast field's value
retrieval from concrete BinaryObject.fieldName - Field name.String affinityKeyFieldName()
boolean isEnum()
True if type is enum.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016