| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv RowStoreAVLDiskData |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RowAVLDiskData(RowStoreAVLDiskData store, TableBase t, RowInputInterface in)
Constructor when read from the disk into the Cache. |
| accessCount | back to summary |
|---|---|
| pack-priv int accessCount | |
| hasDataChanged | back to summary |
|---|---|
| pack-priv boolean hasDataChanged | |
| storageSize | back to summary |
|---|---|
| pack-priv int storageSize | |
| store | back to summary |
|---|---|
| pack-priv RowStoreAVLDiskData store | |
| RowAVLDiskData | back to summary |
|---|---|
| public RowAVLDiskData(PersistentStore store, TableBase t, Object[] o) Constructor for new rows. | |
| RowAVLDiskData | back to summary |
|---|---|
| public RowAVLDiskData(RowStoreAVLDiskData store, TableBase t, RowInputInterface in) Constructor when read from the disk into the Cache. The link with the Nodes is made separetly. | |
| getAccessCount | back to summary |
|---|---|
| public int getAccessCount() Overrides org. Implements org. | |
| getData | back to summary |
|---|---|
| public Object[] getData() Overrides org. Doc from org. Returns the array of fields in the database row. | |
| getRealSize | back to summary |
|---|---|
| public int getRealSize(RowOutputInterface out) Overrides org. Implements org. | |
| getStorageSize | back to summary |
|---|---|
| public int getStorageSize() Overrides org. Implements org. | |
| hasChanged | back to summary |
|---|---|
| public boolean hasChanged() Overrides org. Implements org. | |
| insertNode | back to summary |
|---|---|
| public NodeAVL insertNode(int index) Overrides org. | |
| isInMemory | back to summary |
|---|---|
| public boolean isInMemory() Overrides org. Implements org. used by Index, nodes are always in memory | |
| isKeepInMemory | back to summary |
|---|---|
| public boolean isKeepInMemory() Overrides org. Implements org. | |
| isMemory | back to summary |
|---|---|
| public boolean isMemory() Overrides org. Implements org. | |
| isNew | back to summary |
|---|---|
| public boolean isNew() Overrides org. Implements org. | |
| keepInMemory | back to summary |
|---|---|
| public boolean keepInMemory(boolean keep) Overrides org. Implements org. | |
| setChanged | back to summary |
|---|---|
| public synchronized void setChanged(boolean flag) Overrides org. Implements org. | |
| setData | back to summary |
|---|---|
| public void setData(Object[] data) | |
| setInMemory | back to summary |
|---|---|
| public void setInMemory(boolean in) Overrides org. Implements org. required to purge cache | |
| setNewNodes | back to summary |
|---|---|
| public void setNewNodes(PersistentStore store) Overrides org. Used when data is read from the disk into the Cache the first time. New Nodes are created which are then indexed. | |
| setPos | back to summary |
|---|---|
| public void setPos(long pos) Overrides org. Implements org. Sets the file position for the row and registers the row with the table.
| |
| setStorageSize | back to summary |
|---|---|
| public void setStorageSize(int size) Overrides org. Implements org. | |
| updateAccessCount | back to summary |
|---|---|
| public void updateAccessCount(int count) Overrides org. Implements org. | |
| write | back to summary |
|---|---|
| public void write(RowOutputInterface out) Overrides org. Implements org. Writes the data to disk. Unlike CachedRow, hasChanged is never set to true when changes are made to the Nodes. (Nodes are in-memory). The only time this is used is when a new Row is added to the Caches. | |