com.quadcap.sql.file |
Implementation of a cached block/stream data store with write-ahead
logging. Individual pages
are accessed through an LRU cache. Subpage allocators implement smaller
granularity allocations. Arbitrary size objects can accessesd as streams.
|
Java Source File Name | Type | Comment |
Block.java | Class | This class represents a block/page of data in a random access file,
which may be cached. |
BlockAccess.java | Class | This class implements a randomly accessible, growable region within
a BlockFile object. |
BlockCache.java | Class | This class manages a number of buffers on an underlying store. |
BlockFile.java | Class | This class is used to create, modify, or read a blocked file. |
BlockPath.java | Class | This class is used to locate a specified offset within a randomly
accessible BlockAccess object. |
BlockStore.java | Class | Below the cache, this class handles the actual I/O to the underlying file. |
BufferedRandomAccess.java | Class | A RandomAccess implementation using a byte array. |
ByteArrayRandomAccess.java | Class | A RandomAccess implementation using a byte array. |
ByteUtil.java | Class | This class encapsulates various utilities for manipulating byte arrays
which contain primitive values, such as integers, strings, etc. |
Cache.java | Class | This class manages a number of buffers on an underlying store. |
Cacheable.java | Class | The construction of these objects needs to be managed by the
cache object. |
Datafile.java | Class | This class brings together the various file-level components of the
structured (SQL) database. |
DatafileException.java | Class | |
DatafileRoot.java | Interface | The persistent root block of the database. |
EncryptedBlockStore.java | Class | |
FileRandomAccess.java | Class | |
Log.java | Interface | Interface to logging subsystem. |
Log0.java | Class | Interface to logging subsystem. |
Log1.java | Class | Rolling write-ahead log implementation. |
Log2.java | Class | Interface to logging subsystem. |
Log3.java | Class | Interface to logging subsystem. |
LogBuffer.java | Class | |
LogDump.java | Class | Utility class to dump a log file. |
LogEntry.java | Class | An entry in the log. |
Logger.java | Interface | |
Logger1.java | Class | A Logger implmeentation using a fixed size circular buffer. |
LogOp.java | Interface | |
MemoryBlockStore.java | Class | Below the cache, this class handles the actual I/O to the underlying file. |
NullStore.java | Class | The null store, which is part of the memory-only implementation. |
Page.java | Interface | This interface models a page of data in a block file, either a main page
(aka a Block) or a sub-page. |
PageManager.java | Interface | Interface to be implemented by page (and sub-page) allocators. |
RandomAccess.java | Class | |
RandomAccessInputStream.java | Class | An input stream attached to a RandomAccess object. |
RandomAccessOutputStream.java | Class | An output stream attached to a RandomAccess object. |
SegmentManager.java | Interface | |
SubPage.java | Class | This class implements a page allocated by a sub-page allocator. |
SubPageManager.java | Class | This class implements a sub-page manager which operates by allocating
pages as needed from the main file and chopping them up into smaller
pages of the appropriate size. |
Trace.java | Class | |