org.hsqldb.persist
Class PersistentStoreCollectionSession
- java.lang.Object
-
- org.hsqldb.persist.PersistentStoreCollectionSession
-
- All Implemented Interfaces:
- PersistentStoreCollection
public class PersistentStoreCollectionSession extends java.lang.Object implements PersistentStoreCollection
Collection of PersistenceStore itmes currently used by a session. An item is retrieved based on key returned by TableBase.getPersistenceId().- Since:
- 1.9.0
-
-
Constructor Summary
Constructors Constructor and Description PersistentStoreCollectionSession(Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclearAllTables()voidclearResultTables(long actionTimestamp)voidclearRoutineTables()voidclearSessionTables()voidclearStatementTables()voidclearTransactionTables()PersistentStorefindStore(Table table)DataFileCacheSessiongetSessionDataCache()PersistentStoregetStore(java.lang.Object key)PersistentStoregetViewStore(long persistenceId)voidmoveData(Table oldTable, Table newTable, int colIndex, int adjust)voidpop(boolean isRoutine)voidpush(boolean isRoutine)voidregisterIndex(Session session, Table table)voidrelease()voidsetStore(java.lang.Object key, PersistentStore store)
-
-
-
Constructor Detail
-
PersistentStoreCollectionSession
public PersistentStoreCollectionSession(Session session)
-
-
Method Detail
-
setStore
public void setStore(java.lang.Object key, PersistentStore store)- Specified by:
setStorein interfacePersistentStoreCollection
-
getViewStore
public PersistentStore getViewStore(long persistenceId)
-
getStore
public PersistentStore getStore(java.lang.Object key)
- Specified by:
getStorein interfacePersistentStoreCollection
-
clearAllTables
public void clearAllTables()
-
clearResultTables
public void clearResultTables(long actionTimestamp)
-
clearSessionTables
public void clearSessionTables()
-
clearTransactionTables
public void clearTransactionTables()
-
clearStatementTables
public void clearStatementTables()
-
clearRoutineTables
public void clearRoutineTables()
-
findStore
public PersistentStore findStore(Table table)
-
push
public void push(boolean isRoutine)
-
pop
public void pop(boolean isRoutine)
-
getSessionDataCache
public DataFileCacheSession getSessionDataCache()
-
release
public void release()
- Specified by:
releasein interfacePersistentStoreCollection
-
-
DataMelt 3.0 © DataMelt by jWork.ORG