public class GridH2KeyValueRowOnheap extends GridH2Row
GridQueryTypeDescriptor.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COLUMNS_COUNT |
protected GridH2RowDescriptor |
desc |
static int |
KEY_COL
Key column.
|
static int |
VAL_COL
Value column.
|
static int |
VER_COL
Version column.
|
| Constructor and Description |
|---|
GridH2KeyValueRowOnheap(GridH2RowDescriptor desc,
CacheDataRow row,
int keyType,
int valType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearValuesCache()
Clear values cache.
|
int |
getColumnCount() |
Value |
getValue(int col) |
int |
hashCode() |
int |
headerSize() |
boolean |
indexSearchRow() |
void |
prepareValuesCache()
Prepare values cache.
|
void |
setKey(long key) |
void |
setValue(int idx,
Value v) |
int |
size() |
String |
toString() |
cacheId, expireTime, hash, key, key, link, link, mvccCoordinatorVersion, mvccCounter, mvccOperationCounter, mvccTxState, newMvccCoordinatorVersion, newMvccCounter, newMvccOperationCounter, newMvccTxState, partition, value, versioncommit, getByteCount, getCopy, getKey, getMemory, getSessionId, getValueList, getVersion, isDeleted, isEmpty, setDeleted, setKeyAndVersion, setSessionId, setVersionpublic static final int DEFAULT_COLUMNS_COUNT
public static final int KEY_COL
public static final int VAL_COL
public static final int VER_COL
protected final GridH2RowDescriptor desc
public GridH2KeyValueRowOnheap(GridH2RowDescriptor desc, CacheDataRow row, int keyType, int valType) throws IgniteCheckedException
desc - Row descriptor.row - Row.keyType - Key type.valType - Value type.IgniteCheckedException - If failed.public boolean indexSearchRow()
indexSearchRow in interface GridH2SearchRowindexSearchRow in class GridH2RowTrue for rows used for index search (as opposed to rows stored in H2Tree.public int getColumnCount()
public Value getValue(int col)
public void prepareValuesCache()
public void clearValuesCache()
public void setKey(long key)
setKey in class GridH2SearchRowAdapterpublic void setValue(int idx,
Value v)
public int size()
throws IgniteCheckedException
IgniteCheckedExceptionpublic int headerSize()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019