| Modifier and Type | Field and Description |
|---|---|
static Row[] |
EMPTY_ARRAY |
static int |
MEMORY_CALCULATE |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
This record has been committed.
|
int |
getByteCount(Data dummy)
Get the number of bytes required for the data.
|
int |
getColumnCount()
Get the column count.
|
Row |
getCopy()
Get a copy of the row that is distinct from (not equal to) this row.
|
long |
getKey()
Get the unique key of the row.
|
int |
getMemory()
Get the estimated memory used for this row, in bytes.
|
int |
getSessionId() |
Value |
getValue(int i)
Get the value for the column
|
int |
getVersion()
Get the version of the row.
|
boolean |
isDeleted() |
boolean |
isEmpty() |
void |
setDeleted(boolean deleted) |
void |
setKey(long key)
Set the unique key of the row.
|
void |
setKeyAndVersion(SearchRow row)
Set the position and version to match another row.
|
void |
setSessionId(int sessionId) |
void |
setValue(int i,
Value v)
Set the value for given column
|
void |
setVersion(int version) |
String |
toString() |
public static final int MEMORY_CALCULATE
public static final Row[] EMPTY_ARRAY
public Row(Value[] data, int memory)
public Row getCopy()
public void setKeyAndVersion(SearchRow row)
SearchRowsetKeyAndVersion in interface SearchRowrow - the other row.public int getVersion()
SearchRowgetVersion in interface SearchRowpublic void setVersion(int version)
public long getKey()
SearchRowpublic void setKey(long key)
SearchRowpublic Value getValue(int i)
SearchRowpublic int getByteCount(Data dummy)
dummy - the template bufferpublic void setValue(int i,
Value v)
SearchRowpublic boolean isEmpty()
public int getColumnCount()
SearchRowgetColumnCount in interface SearchRowpublic int getMemory()
SearchRowpublic void setDeleted(boolean deleted)
public void setSessionId(int sessionId)
public int getSessionId()
public void commit()
public boolean isDeleted()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.