|
||||||||
| 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 without state.
| Field Summary |
|---|
| Fields inherited from interface org.h2.result.SearchRow |
|---|
EMPTY_ARRAY |
| Constructor Summary | |
|---|---|
SimpleRow(Value[] data)
|
|
| 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 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 SearchRowpublic long getKey()
SearchRow
getKey in interface SearchRowpublic void setKey(long key)
SearchRow
setKey in interface SearchRowkey - the keypublic void setKeyAndVersion(SearchRow row)
SearchRow
setKeyAndVersion in interface SearchRowrow - the other row.public int getVersion()
SearchRow
getVersion in interface SearchRow
public void setValue(int i,
Value v)
SearchRow
setValue in interface SearchRowi - the column number (starting with 0)v - the new valuepublic Value getValue(int i)
SearchRow
getValue in interface SearchRowi - the column number (starting with 0)
public 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 | |||||||