|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SearchRow
The interface for rows stored in a table, and for partial rows stored in the index.
| Field Summary | |
|---|---|
static SearchRow[] |
EMPTY_ARRAY
An empty array of SearchRow objects. |
| Method Summary | |
|---|---|
int |
getColumnCount()
Get the column count. |
long |
getKey()
Get the unique key of the row. |
int |
getMemory()
Get the estimated memory used for this row, in bytes. |
Value |
getValue(int index)
Get the value for the column |
int |
getVersion()
Get the version of the row. |
void |
setKey(long key)
Set the unique key of the row. |
void |
setKeyAndVersion(SearchRow old)
Set the position and version to match another row. |
void |
setValue(int index,
Value v)
Set the value for given column |
| Field Detail |
|---|
static final SearchRow[] EMPTY_ARRAY
| Method Detail |
|---|
int getColumnCount()
Value getValue(int index)
index - the column number (starting with 0)
void setValue(int index,
Value v)
index - the column number (starting with 0)v - the new valuevoid setKeyAndVersion(SearchRow old)
old - the other row.int getVersion()
void setKey(long key)
key - the keylong getKey()
int getMemory()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||