public interface SearchRow
Modifier and Type | Field and Description |
---|---|
static SearchRow[] |
EMPTY_ARRAY
An empty array of SearchRow objects.
|
Modifier and Type | Method and Description |
---|---|
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
|
static final SearchRow[] EMPTY_ARRAY
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()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.