public class QueryBinaryProperty extends Object implements GridQueryProperty
Constructor and Description |
---|
QueryBinaryProperty(GridKernalContext ctx,
String propName,
QueryBinaryProperty parent,
Class<?> type,
Boolean key,
String alias)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
key()
Property ownership flag.
|
String |
name() |
GridQueryProperty |
parent() |
void |
setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
Class<?> |
type() |
Object |
value(Object key,
Object val)
Gets this property value from the given object.
|
public QueryBinaryProperty(GridKernalContext ctx, String propName, QueryBinaryProperty parent, Class<?> type, @Nullable Boolean key, String alias)
ctx
- Kernal context.propName
- Property name.parent
- Parent property.type
- Result type.key
- true
if key property, false
otherwise, null
if unknown.alias
- Field alias.public Object value(Object key, Object val) throws IgniteCheckedException
value
in interface GridQueryProperty
key
- Key.val
- Value.IgniteCheckedException
- If failed.public void setValue(Object key, Object val, Object propVal) throws IgniteCheckedException
setValue
in interface GridQueryProperty
key
- Key.val
- Value.propVal
- Property value.IgniteCheckedException
- If failed.public String name()
name
in interface GridQueryProperty
public Class<?> type()
type
in interface GridQueryProperty
public boolean key()
key
in interface GridQueryProperty
true
if this property belongs to key, false
if it belongs to value.public GridQueryProperty parent()
parent
in interface GridQueryProperty
null
if this property is not nested.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017