|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.result.SimpleRow
public class SimpleRow
Represents a simple row that is not cached separately.
Constructor Summary | |
---|---|
SimpleRow(Value[] data)
|
Method Summary | |
---|---|
int |
getColumnCount()
Get the column count. |
long |
getKey()
Get the unique key of the row. |
Value |
getValue(int i)
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 i,
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 SimpleRow(Value[] data)
Method Detail |
---|
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 void setKeyAndVersion(SearchRow row)
SearchRow
setKeyAndVersion
in interface SearchRow
row
- the other row.public int getVersion()
SearchRow
getVersion
in interface SearchRow
public void setValue(int i, Value v)
SearchRow
setValue
in interface SearchRow
i
- the column number (starting with 0)v
- the new valuepublic Value getValue(int i)
SearchRow
getValue
in interface SearchRow
i
- the column number (starting with 0)
public 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 |