public interface GridQueryRowDescriptor
| Modifier and Type | Method and Description |
|---|---|
@Nullable GridCacheContext<?,?> |
context()
Gets cache context for this row descriptor.
|
int |
fieldsCount() |
int |
getAlternativeColumnId(int colId)
Gets alternative column id that may substitute the given column id.
|
Object |
getFieldValue(Object key,
Object val,
int fieldIdx)
Gets field value by field index.
|
Set<String> |
getRowKeyColumnNames()
Gets a copy of a set of table key column names.
|
boolean |
isFieldKeyProperty(int fieldIdx)
Determine whether a field corresponds to a property of key or to one of value.
|
boolean |
isKeyColumn(int colId)
Checks if provided column id matches key column or key alias.
|
boolean |
isValueColumn(int colId)
Checks if provided column id matches value column or alias.
|
void |
onMetadataUpdated()
Callback for table metadata update event.
|
void |
setFieldValue(Object key,
Object val,
Object fieldVal,
int fieldIdx)
Sets field value by field index.
|
GridQueryTypeDescriptor |
type()
Gets type descriptor.
|
void onMetadataUpdated()
GridQueryTypeDescriptor type()
@Nullable @Nullable GridCacheContext<?,?> context()
int fieldsCount()
Object getFieldValue(Object key, Object val, int fieldIdx)
key - Key.val - Value.fieldIdx - Field index.void setFieldValue(Object key, Object val, Object fieldVal, int fieldIdx)
key - Key.val - Value.fieldVal - Value to set to field.fieldIdx - Field index.boolean isFieldKeyProperty(int fieldIdx)
fieldIdx - Field index.true if given field corresponds to a key property, false otherwise.boolean isKeyColumn(int colId)
colId - Column id.boolean isValueColumn(int colId)
colId - Column id.int getAlternativeColumnId(int colId)
colId - Column id.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023