|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hsqldb.Row
org.hsqldb.CachedRow
In-memory representation of a disk-based database row object with methods
for serialization and de-serialization.
A CachedRow is normally part of a circular double linked list which
contians all the Rows currently in the Cache for the database. It is
unlinked from this list when it is freed from the Cache to make way for
other rows.
Field Summary | |
protected boolean |
hasChanged
Flag indicating any change to the Nodes or table row data. |
protected boolean |
hasDataChanged
Flag indicating the row data has changed too. |
protected org.hsqldb.Node |
nPrimaryNode
|
protected Object[] |
oData
|
protected Table |
tTable
|
Constructor Summary | |
CachedRow(Table t,
Object[] o)
Constructor for new Rows. |
|
CachedRow(Table t,
RowInputInterface in)
constructor when read from the disk into the Cache |
Method Summary | |
Object[] |
getData()
Returns the array of fields in the database row. |
Table |
getTable()
Returns the table which this Row belongs to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Table tTable
protected boolean hasChanged
protected boolean hasDataChanged
protected Object[] oData
protected org.hsqldb.Node nPrimaryNode
Constructor Detail |
public CachedRow(Table t, Object[] o) throws HsqlException
public CachedRow(Table t, RowInputInterface in) throws IOException, HsqlException
Method Detail |
public Table getTable()
public Object[] getData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |