Package org.garret.perst

Interface Summary
BitIndex<T extends IPersistent> Interface of bit index.
Blob Interface to store/fetch large binary objects
FieldIndex<T extends IPersistent> Interface of indexed field.
GenericIndex<T> Interface of object index.
IFile Interface of file.
Index<T extends IPersistent> Interface of object index.
IPersistent Interface of all persistent capable objects
IPersistentSet<T extends IPersistent> Interface of persistent set.
IResource Interface of object supporting locking
ITable<T> Interface of selectable collection.
IValue Interface of objects stored as value.
Link<T extends IPersistent> Interface for one-to-many relation.
PatriciaTrie<T extends IPersistent> PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric).
PersistentIterator<T extends IPersistent> Interface implemented by all Perst iterators allowing to get OID of the current object
Query<T> Class representing JSQL query.
ReplicationMasterStorage Storage performing replication of changed pages to specified slave nodes.
ReplicationSlaveStorage Storage reciving modified pages from replication master and been able to run read-only transactions
Resolver Abstraction of class resolver.
SortedCollection<T extends IPersistent> Interface of sorted collection.
SpatialIndex<T extends IPersistent> Interface of object spatial index.
SpatialIndexR2<T extends IPersistent> Interface of object spatial index.
Storage Object storage
TimeSeries<T extends TimeSeries.Tick> Time series interface.
TimeSeries.Tick Interface for timeseries element.
 

Class Summary
Assert Class for checking program invariants.
Database This class emulates relational database on top of Perst storage It maintain class extends, associated indices, prepare queries.
IterableIterator<T> Interface combining both Iterable and Iterator functionality
Key Class for specifying key value (needed to access obejct by key usig index)
L2List Double linked list.
L2ListElem Double linked list element.
MappedFile Class using NIO mapping file on virtual mapping.
MemoryUsage Information about memory usage for the correspondent class.
NullFile This implementation of IFile interface can be used to make Perst an main-memory database.
PatriciaTrieKey Convert different type of keys to 64-bit long value used in PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric)
Persistent Base class for all persistent capable objects
PersistentCollection<T>  
PersistentComparator<T extends IPersistent> Base class for persistent comparator used in SortedCollection class
PersistentResource Base class for persistent capable objects supporting locking
PersistentString Class encapsulating native Java string. java.lang.String is not persistent object so it can not be stored in Perst as independent persistent object.
Projection<From extends IPersistent,To extends IPersistent> Class use to project selected objects using relation field.
Rectangle R2 rectangle class.
RectangleR2 R2 rectangle class.
Relation<M extends IPersistent,O extends IPersistent> Class representing relation between owner and members
StorageFactory Storage factory
StorageListener Listener of database events.
TimeSeries.Block Abstract base class for time series block.
Version Base class for version of versioned object.
VersionHistory<V extends Version> Collection of version of versioned object.
 

Exception Summary
CompileError Exception thrown by compiler
JSQLArithmeticException Exception thown in case of incorect operands for integer operations
JSQLNoSuchFieldException Exception thown when field is not found during runtime lookup
JSQLNullPointerException Exception thown when null reference field is dereferenced
JSQLRuntimeException Exception thown by JSQL at runtime which should be ignored and boolean expression caused this exption should be treated as false
StorageError Exception throw by storage implementation
XMLImportException Exception thrown during import of data from XML file in database
 

Error Summary
AssertionFailed Exception raised by Assert class when assertion was failed.