|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.result.SimpleRowValue
public class SimpleRowValue
A simple row that contains data for only one column.
| Field Summary |
|---|
| Fields inherited from interface org.h2.result.SearchRow |
|---|
EMPTY_ARRAY |
| Constructor Summary | |
|---|---|
SimpleRowValue(int columnCount)
|
|
| 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 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRowValue(int columnCount)
| Method Detail |
|---|
public void setKeyAndVersion(SearchRow row)
SearchRow
setKeyAndVersion in interface SearchRowrow - the other row.public int getVersion()
SearchRow
getVersion in interface SearchRowpublic int getColumnCount()
SearchRow
getColumnCount in interface SearchRowpublic long getKey()
SearchRow
getKey in interface SearchRowpublic void setKey(long key)
SearchRow
setKey in interface SearchRowkey - the keypublic Value getValue(int idx)
SearchRow
getValue in interface SearchRowidx - the column number (starting with 0)
public void setValue(int idx,
Value v)
SearchRow
setValue in interface SearchRowidx - the column number (starting with 0)v - the new valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getMemory()
SearchRow
getMemory in interface SearchRow
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||