public interface GridH2RowDescriptor extends GridOffHeapSmartPointerFactory<GridH2KeyValueRowOffheap>
| Modifier and Type | Method and Description |
|---|---|
void |
cache(GridH2KeyValueRowOffheap row) |
Object |
columnValue(Object key,
Object val,
int col)
Gets column value by column index.
|
GridH2Row |
createRow(CacheObject key,
CacheObject val,
long expirationTime)
Creates new row.
|
int |
fieldsCount() |
int |
fieldType(int col)
Gets value type for column index.
|
GridUnsafeGuard |
guard() |
GridUnsafeMemory |
memory() |
IgniteH2Indexing |
owner() |
boolean |
preferSwapValue() |
Object |
readFromSwap(Object key) |
boolean |
snapshotableIndex() |
void |
uncache(long ptr) |
int |
valueType() |
org.h2.value.Value |
wrap(Object o,
int type)
Wraps object to respective
Value. |
createPointerIgniteH2Indexing owner()
GridH2Row createRow(CacheObject key, @Nullable CacheObject val, long expirationTime) throws IgniteCheckedException
key - Key.val - Value.expirationTime - Expiration time in millis.IgniteCheckedException - If failed.Object readFromSwap(Object key) throws IgniteCheckedException
key - Cache key.IgniteCheckedException - If failed.int valueType()
int fieldsCount()
int fieldType(int col)
col - Column index.Object columnValue(Object key, Object val, int col)
key - Key.val - Value.col - Column index.GridUnsafeMemory memory()
void cache(GridH2KeyValueRowOffheap row)
row - Deserialized offheap row to cache in heap.void uncache(long ptr)
ptr - Offheap pointer to remove from cache.GridUnsafeGuard guard()
org.h2.value.Value wrap(Object o, int type) throws IgniteCheckedException
Value.o - Object.type - Value type.IgniteCheckedException - If failed.boolean preferSwapValue()
True if should check swap value before offheap.boolean snapshotableIndex()
True if index should support snapshots.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016