org.hsqldb.persist
Class BlockObjectStore
- java.lang.Object
-
- org.hsqldb.persist.SimpleStore
-
- org.hsqldb.persist.BlockObjectStore
-
- All Implemented Interfaces:
- PersistentStore
public class BlockObjectStore extends SimpleStore
- Since:
- 2.3.0
-
-
Field Summary
-
Fields inherited from class org.hsqldb.persist.SimpleStore
cache
-
Fields inherited from interface org.hsqldb.persist.PersistentStore
emptyArray, INT_STORE_SIZE, LONG_STORE_SIZE, SHORT_STORE_SIZE
-
-
Constructor Summary
Constructors Constructor and Description BlockObjectStore(DataFileCache cache, TableSpaceManager tableSpaceManager, java.lang.Class objectClass, int storageSize, int blockSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(Session session, CachedObject object, boolean tx)add new objectCachedObjectget(CachedObject object, boolean keep)CachedObjectget(long i)get objectCachedObjectget(long i, boolean keep)get object with keep, ensuring future gets will return the same instance of the objectCachedObjectget(RowInputInterface in)CachedObjectgetNewInstance(int size)-
Methods inherited from class org.hsqldb.persist.SimpleStore
canRead, canRead, commitPersistence, commitRow, delete, elementCount, elementCount, elementCountUnique, get, getAccessCount, getAccessor, getAccessorKeys, getAccessorStore, getCache, getDefaultObjectSize, getNewCachedObject, getSpaceManager, getTable, getTimestamp, hasNull, indexRow, indexRows, isMemory, moveData, moveDataToSpace, postCommitAction, reindex, release, remove, removeAll, resetAccessorKeys, rollbackRow, rowIterator, searchCost, set, setAccessor, setAccessor, setCache, setElementCount, setMemory, setReadOnly, setSpaceManager, setTimestamp, writeLock, writeUnlock
-
-
-
-
Constructor Detail
-
BlockObjectStore
public BlockObjectStore(DataFileCache cache, TableSpaceManager tableSpaceManager, java.lang.Class objectClass, int storageSize, int blockSize)
-
-
Method Detail
-
get
public CachedObject get(long i)
Description copied from interface:PersistentStoreget object- Specified by:
getin interfacePersistentStore- Overrides:
getin classSimpleStore
-
get
public CachedObject get(CachedObject object, boolean keep)
- Specified by:
getin interfacePersistentStore- Overrides:
getin classSimpleStore
-
get
public CachedObject get(long i, boolean keep)
Description copied from interface:PersistentStoreget object with keep, ensuring future gets will return the same instance of the object- Specified by:
getin interfacePersistentStore- Overrides:
getin classSimpleStore
-
add
public void add(Session session, CachedObject object, boolean tx)
Description copied from interface:PersistentStoreadd new object
-
get
public CachedObject get(RowInputInterface in)
-
getNewInstance
public CachedObject getNewInstance(int size)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG