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.
|
Collection<BinaryObject> |
enumValues() |
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.Collection<BinaryObject> enumValues()
GridGain In-Memory Computing Platform : ver. 8.9.18 Release Date : March 14 2025