public class GridH2Row extends org.h2.result.Row implements GridSearchRowPointer
| Modifier and Type | Field and Description |
|---|---|
protected static byte |
STATE_INSERTED |
protected static byte |
STATE_NEW |
protected static byte |
STATE_REJECTED |
| Constructor and Description |
|---|
GridH2Row(byte state,
org.h2.value.Value... data) |
GridH2Row(org.h2.value.Value... data) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrementRefCount() |
byte |
finishInsert(boolean success)
Sets whether insert failed due to unique index violation.
|
void |
incrementRefCount() |
long |
pointer() |
protected byte |
refreshState()
Refreshes state.
|
boolean |
waitInsertComplete() |
commit, getByteCount, getColumnCount, getCopy, getKey, getMemory, getSessionId, getValue, getValueList, getVersion, isDeleted, isEmpty, setDeleted, setKey, setKeyAndVersion, setSessionId, setValue, setVersion, toStringprotected static final byte STATE_NEW
protected static final byte STATE_INSERTED
protected static final byte STATE_REJECTED
public GridH2Row(org.h2.value.Value... data)
data - Column values.public GridH2Row(byte state,
org.h2.value.Value... data)
state - State.data - Column values.public final boolean waitInsertComplete()
protected byte refreshState()
public byte finishInsert(boolean success)
success - Flag value.public long pointer()
pointer in interface org.gridgain.grid.util.offheap.unsafe.GridOffHeapSmartPointerpublic void incrementRefCount()
incrementRefCount in interface org.gridgain.grid.util.offheap.unsafe.GridOffHeapSmartPointerpublic void decrementRefCount()
decrementRefCount in interface org.gridgain.grid.util.offheap.unsafe.GridOffHeapSmartPointerCopyright © 2014. All rights reserved.