public interface GridQueryTypeDescriptor
| Modifier and Type | Method and Description |
|---|---|
String |
affinityKey()
Returns affinity key field name or
null for default. |
Map<String,Class<?>> |
fields()
Gets mapping from field name to its type.
|
Map<String,GridQueryIndexDescriptor> |
indexes()
Gets indexes for this type.
|
Class<?> |
keyClass()
Gets key class.
|
String |
keyTypeName()
Gets key type name.
|
String |
name()
Gets type name which uniquely identifies this type.
|
GridQueryProperty |
property(String name) |
void |
setValue(String field,
Object key,
Object val,
Object propVal)
Sets field value for given key and value.
|
<T> T |
value(String field,
Object key,
Object val)
Gets field value for given key and value.
|
Class<?> |
valueClass()
Gets value class.
|
boolean |
valueTextIndex()
Returns
true if string representation of value should be indexed as text. |
String |
valueTypeName()
Gets value type name.
|
String name()
Map<String,Class<?>> fields()
<T> T value(String field, Object key, Object val) throws IgniteCheckedException
field - Field name.key - Key.val - Value.IgniteCheckedException - If failed.void setValue(String field, Object key, Object val, Object propVal) throws IgniteCheckedException
field - Field name.key - Key.val - Value.propVal - Value for given field.IgniteCheckedException - If failed.GridQueryProperty property(String name)
name - Property name.Map<String,GridQueryIndexDescriptor> indexes()
Class<?> valueClass()
Class<?> keyClass()
String keyTypeName()
String valueTypeName()
boolean valueTextIndex()
true if string representation of value should be indexed as text.String affinityKey()
null for default.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016