|
|||||||||
| Home >> All >> org >> [ hsqldb overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hsqldb
Class CachedRow

java.lang.Objectorg.hsqldb.Row
org.hsqldb.CachedRow
- class CachedRow
- extends Row
Disk and In-memory representation of a database row object with storage independent methods for serialization and de-serialization.
- Version:
- 1.7.1
| Field Summary | |
private boolean |
bChanged
|
(package private) static int |
iCurrentAccess
|
(package private) int |
iLastAccess
|
(package private) int |
iPos
|
(package private) static int |
NO_POS
|
protected Node |
nPrimaryNode
|
protected java.lang.Object[] |
oData
|
(package private) CachedRow |
rLast
|
(package private) CachedRow |
rNext
|
(package private) int |
storageSize
|
protected Table |
tTable
|
| Constructor Summary | |
(package private) |
CachedRow(Table t,
DatabaseRowInputInterface in)
constructor when read from cache |
(package private) |
CachedRow(Table t,
java.lang.Object[] o)
Constructor declaration |
| Method Summary | |
(package private) void |
changed()
|
(package private) void |
delete()
Method declaration |
(package private) void |
free()
Method declaration |
(package private) java.lang.Object[] |
getData()
Method declaration |
(package private) Node |
getNextNode(Node n)
Method declaration |
(package private) Node |
getNode(int index)
Get the node for a given index. |
(package private) Table |
getTable()
Method declaration |
(package private) boolean |
hasChanged()
|
(package private) void |
insert(CachedRow before)
Method declaration |
(package private) boolean |
isRoot()
Used only in Cache.java to avoid removing the row from the cache |
(package private) static Row |
newRow(Table t,
java.lang.Object[] o)
|
(package private) void |
setPos(int pos)
|
(package private) void |
setPrimaryNode(Node primary)
|
(package private) void |
write(DatabaseRowOutputInterface out)
Method declaration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NO_POS
static final int NO_POS
- See Also:
- Constant Field Values
iCurrentAccess
static int iCurrentAccess
tTable
protected Table tTable
iLastAccess
int iLastAccess
rLast
CachedRow rLast
rNext
CachedRow rNext
iPos
int iPos
storageSize
int storageSize
bChanged
private boolean bChanged
oData
protected java.lang.Object[] oData
nPrimaryNode
protected Node nPrimaryNode
| Constructor Detail |
CachedRow
CachedRow(Table t, java.lang.Object[] o) throws java.sql.SQLException
- Constructor declaration
CachedRow
CachedRow(Table t, DatabaseRowInputInterface in) throws java.io.IOException, java.sql.SQLException
- constructor when read from cache
| Method Detail |
setPos
void setPos(int pos)
changed
void changed()
hasChanged
boolean hasChanged()
getNode
Node getNode(int index)
getNextNode
Node getNextNode(Node n)
- Method declaration
- Overrides:
getNextNodein classRow
getData
java.lang.Object[] getData()
getTable
Table getTable()
- Method declaration
insert
void insert(CachedRow before)
- Method declaration
isRoot
boolean isRoot()
throws java.sql.SQLException
- Used only in Cache.java to avoid removing the row from the cache
write
void write(DatabaseRowOutputInterface out) throws java.io.IOException, java.sql.SQLException
- Method declaration
delete
void delete()
throws java.sql.SQLException
free
void free()
throws java.sql.SQLException
- Method declaration
newRow
static Row newRow(Table t, java.lang.Object[] o) throws java.sql.SQLException
setPrimaryNode
void setPrimaryNode(Node primary)
|
|||||||||
| Home >> All >> org >> [ hsqldb overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC