public class QueryClassProperty extends Object implements GridQueryProperty
| Constructor and Description |
|---|
QueryClassProperty(QueryPropertyAccessor accessor,
boolean key,
String name,
CacheObjectContext coCtx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
key()
Property ownership flag.
|
String |
name() |
GridQueryProperty |
parent() |
void |
parent(QueryClassProperty parent) |
void |
setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
String |
toString() |
Class<?> |
type() |
Object |
value(Object key,
Object val)
Gets this property value from the given object.
|
public QueryClassProperty(QueryPropertyAccessor accessor, boolean key, String name, @Nullable CacheObjectContext coCtx)
accessor - Way of accessing the property.public Object value(Object key, Object val) throws IgniteCheckedException
value in interface GridQueryPropertykey - Key.val - Value.IgniteCheckedException - If failed.public void setValue(Object key, Object val, Object propVal) throws IgniteCheckedException
setValue in interface GridQueryPropertykey - Key.val - Value.propVal - Property value.IgniteCheckedException - If failed.public boolean key()
key in interface GridQueryPropertytrue if this property belongs to key, false if it belongs to value.public String name()
name in interface GridQueryPropertypublic Class<?> type()
type in interface GridQueryPropertypublic void parent(QueryClassProperty parent)
parent - Parent property if this is embeddable element.public GridQueryProperty parent()
parent in interface GridQueryPropertynull if this property is not nested.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017