public class BinaryTypeProxy extends Object implements BinaryType
| Constructor and Description |
|---|
BinaryTypeProxy(BinaryContext ctx,
int typeId,
String clsName)
Constructor.
|
| 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.
|
String |
toString() |
int |
typeId()
Gets binary type ID.
|
String |
typeName()
Gets binary type name.
|
public BinaryTypeProxy(BinaryContext ctx, int typeId, @Nullable String clsName)
ctx - Context.typeId - Type ID.clsName - Class name.public int typeId()
typeId in interface BinaryTypepublic 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.field in interface BinaryTypefieldName - Field name.public String typeName()
typeName in interface BinaryTypepublic Collection<String> fieldNames()
fieldNames in interface BinaryTypepublic String fieldTypeName(String fieldName)
fieldTypeName in interface BinaryTypefieldName - Field name.public String affinityKeyFieldName()
affinityKeyFieldName in interface BinaryTypepublic boolean isEnum()
isEnum in interface BinaryTypeTrue if type is enum.public Collection<BinaryObject> enumValues()
enumValues in interface BinaryType
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018