public class GridH2KeyValueRowOnheap extends GridH2Row
GridQueryTypeDescriptor.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COLUMNS_COUNT |
protected GridH2RowDescriptor |
desc |
protected long |
expirationTime |
static int |
KEY_COL
Key column.
|
static int |
VAL_COL
Value column.
|
static int |
VER_COL
Version column.
|
| Constructor and Description |
|---|
GridH2KeyValueRowOnheap(GridH2RowDescriptor desc,
Object key,
int keyType,
Object val,
int valType,
GridCacheVersion ver,
long expirationTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
expireTime() |
int |
getColumnCount() |
org.h2.result.Row |
getCopy() |
long |
getKey() |
org.h2.value.Value |
getValue(int col) |
org.h2.value.Value[] |
getValueList() |
int |
hashCode() |
protected org.h2.value.Value |
peekValue(int col) |
void |
setDeleted(boolean deleted) |
void |
setKey(long key) |
void |
setKeyAndVersion(org.h2.result.SearchRow old) |
void |
setSessionId(int sesId) |
void |
setValue(int idx,
org.h2.value.Value v) |
void |
setVersion(int ver) |
String |
toString() |
void |
valuesCache(org.h2.value.Value[] valCache) |
public 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
protected long expirationTime
public GridH2KeyValueRowOnheap(GridH2RowDescriptor desc, Object key, int keyType, @Nullable Object val, int valType, GridCacheVersion ver, long expirationTime) throws IgniteCheckedException
desc - Row descriptor.key - Key.keyType - Key type.val - Value.valType - Value type.expirationTime - Expiration time.IgniteCheckedException - If failed.public org.h2.value.Value[] getValueList()
getValueList in interface org.h2.result.RowgetValueList in class GridH2Rowpublic long expireTime()
public int getColumnCount()
protected final org.h2.value.Value peekValue(int col)
col - Column index.public org.h2.value.Value getValue(int col)
public void valuesCache(org.h2.value.Value[] valCache)
valCache - Value cache.public void setKeyAndVersion(org.h2.result.SearchRow old)
setKeyAndVersion in interface org.h2.result.SearchRowsetKeyAndVersion in class GridH2Rowpublic void setKey(long key)
public org.h2.result.Row getCopy()
public void setDeleted(boolean deleted)
setDeleted in interface org.h2.result.RowsetDeleted in class GridH2Rowpublic long getKey()
public void setSessionId(int sesId)
setSessionId in interface org.h2.result.RowsetSessionId in class GridH2Rowpublic void setVersion(int ver)
setVersion in interface org.h2.result.RowsetVersion in class GridH2Rowpublic void setValue(int idx,
org.h2.value.Value v)
Follow @ApacheIgnite
Ignite Fabric : ver. 2.3.0 Release Date : October 28 2017