public class BinaryFieldImpl extends Object implements BinaryField
| Constructor and Description |
|---|
BinaryFieldImpl(int typeId,
BinarySchemaRegistry schemas,
String fieldName,
int fieldId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(BinaryObject obj)
Check whether field exists in the object.
|
int |
fieldId() |
int |
fieldOrder(BinaryObjectExImpl obj)
Get relative field offset.
|
String |
name()
Get field's name.
|
String |
toString() |
<T> T |
value(BinaryObject obj)
Get field's value from the given object.
|
public BinaryFieldImpl(int typeId,
BinarySchemaRegistry schemas,
String fieldName,
int fieldId)
schemas - Schemas.fieldName - Field name.fieldId - Field ID.public String name()
name in interface BinaryFieldpublic int fieldId()
public boolean exists(BinaryObject obj)
exists in interface BinaryFieldobj - Object.True if exists.public <T> T value(BinaryObject obj)
value in interface BinaryFieldobj - Object.public int fieldOrder(BinaryObjectExImpl obj)
obj - Object.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017