|
||||||||||
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.
Constructor Summary | |
---|---|
SimpleRowValue(int columnCount)
|
Method Summary | |
---|---|
int |
getColumnCount()
Get the column count. |
long |
getKey()
Get the unique key of the row. |
int |
getPos()
|
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 |
setPos(int pos)
|
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 SearchRow
row
- the other row.public int getVersion()
SearchRow
getVersion
in interface SearchRow
public int getColumnCount()
SearchRow
getColumnCount
in interface SearchRow
public int getPos()
public void setPos(int pos)
public long getKey()
SearchRow
getKey
in interface SearchRow
public void setKey(long key)
SearchRow
setKey
in interface SearchRow
key
- the keypublic Value getValue(int idx)
SearchRow
getValue
in interface SearchRow
idx
- the column number (starting with 0)
public void setValue(int idx, Value v)
SearchRow
setValue
in interface SearchRow
idx
- the column number (starting with 0)v
- the new valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |