|
|||||||||
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 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
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
public int getMemory()
SearchRow
getMemory
in interface SearchRow
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |