EMPTY_ARRAY
Constructor and Description |
---|
SimpleRowValue(int columnCount) |
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 idx)
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 row)
Set the position and version to match another row.
|
void |
setValue(int idx,
Value v)
Set the value for given column
|
String |
toString() |
public void setKeyAndVersion(SearchRow row)
SearchRow
setKeyAndVersion
in interface SearchRow
row
- the other row.public int getVersion()
SearchRow
getVersion
in interface SearchRow
public int getColumnCount()
SearchRow
getColumnCount
in interface SearchRow
public long getKey()
SearchRow
public void setKey(long key)
SearchRow
public Value getValue(int idx)
SearchRow
public void setValue(int idx, Value v)
SearchRow
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.