Top Description Fields Constructors Methods
org.hsqldb.persist

public Class PersistentStoreCollectionSession

extends Object
implements PersistentStoreCollection
Class Inheritance
All Implemented Interfaces
org.hsqldb.persist.PersistentStoreCollection
Imports
org.hsqldb.HsqlException, .Session, .Table, .TableBase, org.hsqldb.error.Error, .ErrorCode, org.hsqldb.index.Index, org.hsqldb.lib.HsqlDeque, .Iterator, .LongKeyHashMap

Collection of PersistenceStore items currently used by a session. An item is retrieved based on key returned by TableBase.getPersistenceId().
Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
1.9.0
Version
2.7.3

Field Summary

Modifier and TypeField and Description
pack-priv DataFileCacheSession
private HsqlDeque<Object[]>
private LongKeyHashMap<PersistentStore>
private final LongKeyHashMap<PersistentStore>
private LongKeyHashMap<PersistentStore>
private LongKeyHashMap<PersistentStore>
private final Session

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
public synchronized void
clearResultTables(long actionTimestamp)

public synchronized void
public synchronized void
public synchronized void
public synchronized void
private void
public synchronized PersistentStore
public synchronized DataFileCacheSession
public synchronized PersistentStore
public synchronized PersistentStore
getViewStore(long persistenceId)

public synchronized void
moveData(Table oldTable, Table newTable, int[] colIndex, int adjust)

public synchronized void
pop(boolean isRoutine)

public synchronized void
push(boolean isRoutine)

public synchronized void
public synchronized void
public synchronized void
resetAccessorKeys(Session session, Table table, Index[] indexes)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

resultCacheback to summary
pack-priv DataFileCacheSession resultCache
rowStoreListStackback to summary
private HsqlDeque<Object[]> rowStoreListStack
rowStoreMapRoutineback to summary
private LongKeyHashMap<PersistentStore> rowStoreMapRoutine
rowStoreMapSessionback to summary
private final LongKeyHashMap<PersistentStore> rowStoreMapSession
rowStoreMapStatementback to summary
private LongKeyHashMap<PersistentStore> rowStoreMapStatement
rowStoreMapTransactionback to summary
private LongKeyHashMap<PersistentStore> rowStoreMapTransaction
sessionback to summary
private final Session session

Constructor Detail

PersistentStoreCollectionSessionback to summary
public PersistentStoreCollectionSession(Session session)

Method Detail

clearAllTablesback to summary
public synchronized void clearAllTables()
clearResultTablesback to summary
public synchronized void clearResultTables(long actionTimestamp)
clearRoutineTablesback to summary
public synchronized void clearRoutineTables()
clearSessionTablesback to summary
public synchronized void clearSessionTables()
clearStatementTablesback to summary
public synchronized void clearStatementTables()
clearTransactionTablesback to summary
public synchronized void clearTransactionTables()
closeSessionDataCacheback to summary
private void closeSessionDataCache()
findStoreback to summary
public synchronized PersistentStore findStore(TableBase table)
getSessionDataCacheback to summary
public synchronized DataFileCacheSession getSessionDataCache()
getStoreback to summary
public synchronized PersistentStore getStore(TableBase table)

Implements org.hsqldb.persist.PersistentStoreCollection.getStore.

getViewStoreback to summary
public synchronized PersistentStore getViewStore(long persistenceId)
moveDataback to summary
public synchronized void moveData(Table oldTable, Table newTable, int[] colIndex, int adjust)
popback to summary
public synchronized void pop(boolean isRoutine)
pushback to summary
public synchronized void push(boolean isRoutine)
releaseback to summary
public synchronized void release()

Implements org.hsqldb.persist.PersistentStoreCollection.release.

removeStoreback to summary
public synchronized void removeStore(TableBase table)

Implements org.hsqldb.persist.PersistentStoreCollection.removeStore.

resetAccessorKeysback to summary
public synchronized void resetAccessorKeys(Session session, Table table, Index[] indexes)