A B C D E F G H I J K L M N O P Q R S T U V W X

A

ACCESS_TO_STUB - Static variable in exception org.garret.perst.StorageError
 
ACCESS_VIOLATION - Static variable in exception org.garret.perst.StorageError
 
add(Object) - Method in class org.garret.perst.L2List
Add object to the list
add(T) - Method in interface org.garret.perst.Link
Add new object to the relation
add(T) - Method in interface org.garret.perst.MultidimensionalIndex
Add new object in the index.
add(PatriciaTrieKey, T) - Method in interface org.garret.perst.PatriciaTrie
Add new key to the trie
add(T) - Method in class org.garret.perst.PersistentCollection
Ensures that this collection contains the specified element (optional operation).
add(To) - Method in class org.garret.perst.Projection
Add object to the set
add(T) - Method in interface org.garret.perst.SortedCollection
Add new member to collection
add(T) - Method in interface org.garret.perst.TimeSeries
Add new tick to time series
addAll(Collection) - Method in class org.garret.perst.L2List
Adds all of the elements in the specified collection to this collection (optional operation).
addAll(T[]) - Method in interface org.garret.perst.Link
Add all elements of the array to the relation
addAll(T[], int, int) - Method in interface org.garret.perst.Link
Add specified elements of the array to the relation
addAll(Link<T>) - Method in interface org.garret.perst.Link
Add all object members of the other relation to this relation
addAll(Collection<? extends T>) - Method in class org.garret.perst.PersistentCollection
Adds all of the elements in the specified collection to this collection (optional operation).
addIndex(String, GenericIndex<T>) - Method in interface org.garret.perst.Query
Add index which can be used to optimize query execution (replace sequential search with direct index access)
addLabel(String) - Method in class org.garret.perst.Version
Add new label to this version
addPredecessor(Version) - Method in class org.garret.perst.Version
Make specified version predecessor of this version.
addRecord(T) - Method in class org.garret.perst.Database
Add new record to the table.
addRecord(Class, T) - Method in class org.garret.perst.Database
Add new record to the specified table.
addReplicationSlaveStorage(String, int) - Method in class org.garret.perst.StorageFactory
Add new instance of the dynamic slave node of replicated storage.
allocate(long) - Method in interface org.garret.perst.CustomAllocator
Allocate object
allocatedSize - Variable in class org.garret.perst.MemoryUsage
Real allocated size of all instances.
APPEND - Static variable in interface org.garret.perst.Blob
 
append(T) - Method in interface org.garret.perst.FieldIndex
Assign to the integer indexed field unique autoicremented value and insert object in the index.
append(L2ListElem) - Method in class org.garret.perst.L2List
Insert element at the end of the list
append(String) - Method in class org.garret.perst.PersistentString
Append string to the current string value of PersistentString
area() - Method in class org.garret.perst.Rectangle
Rectangle area
area() - Method in class org.garret.perst.RectangleR2
Rectangle area
ASCENT_ORDER - Static variable in interface org.garret.perst.GenericIndex
 
Assert - Class in org.garret.perst
Class for checking program invariants.
Assert() - Constructor for class org.garret.perst.Assert
 
AssertionFailed - Error in org.garret.perst
Exception raised by Assert class when assertion was failed.
AssertionFailed() - Constructor for error org.garret.perst.AssertionFailed
 
AssertionFailed(String) - Constructor for error org.garret.perst.AssertionFailed
 
assignOid(Storage, int, boolean) - Method in interface org.garret.perst.IPersistent
Assign OID to the object.
assignOid(Storage, int, boolean) - Method in class org.garret.perst.Persistent
 

B

backup(OutputStream) - Method in interface org.garret.perst.Storage
Backup current state of database
BAD_PROPERTY_VALUE - Static variable in exception org.garret.perst.StorageError
 
BAD_REPLICATION_PORT - Static variable in exception org.garret.perst.StorageError
 
beginThreadTransaction(int) - Method in interface org.garret.perst.Storage
Begin per-thread transaction.
beginTransaction() - Method in class org.garret.perst.Database
Begin transaction
BitIndex<T extends IPersistent> - Interface in org.garret.perst
Interface of bit index.
Blob - Interface in org.garret.perst
Interface to store/fetch large binary objects

C

checkin() - Method in class org.garret.perst.Version
Check-in new version.
checkout() - Method in class org.garret.perst.VersionHistory
Checkout current version: create successor of the current version.
CLASS_NOT_FOUND - Static variable in exception org.garret.perst.StorageError
 
clear() - Method in interface org.garret.perst.BitIndex
Remove all objects from the index
clear() - Method in interface org.garret.perst.GenericIndex
Remove all objects from the index
clear() - Method in class org.garret.perst.L2List
Make list empty.
clear() - Method in interface org.garret.perst.Link
Remove all members from the relation
clear() - Method in interface org.garret.perst.MultidimensionalIndex
Remove all objects from the index
clear() - Method in interface org.garret.perst.PatriciaTrie
Clear the trie: remove all elements from trie
clear() - Method in interface org.garret.perst.SortedCollection
Remove all objects from the collection
clear() - Method in interface org.garret.perst.SpatialIndex
Remove all objects from the index
clear() - Method in interface org.garret.perst.SpatialIndexR2
Remove all objects from the index
clearObjectCache() - Method in interface org.garret.perst.Storage
Clear database object cache.
clone() - Method in interface org.garret.perst.ICloneable
 
clone() - Method in class org.garret.perst.Persistent
 
clone() - Method in class org.garret.perst.Rectangle
Clone rectangle
clone() - Method in class org.garret.perst.RectangleR2
Clone rectangle
cloneField(T, int) - Method in class org.garret.perst.MultidimensionalComparator
Create clone of the specified object contining copy of the specified field
close() - Method in class org.garret.perst.CompressedFile
 
close() - Method in class org.garret.perst.CompressedReadWriteFile
 
close() - Method in interface org.garret.perst.IFile
Close file
close() - Method in class org.garret.perst.MappedFile
 
close() - Method in class org.garret.perst.NullFile
 
close() - Method in interface org.garret.perst.Storage
Commit transaction (if needed) and close the storage
cls - Variable in class org.garret.perst.MemoryUsage
Class of persistent object or Storage for database internal data
commit() - Method in interface org.garret.perst.CustomAllocator
Make it possible to reused space of all previously deallocated shadow objects.
commit() - Method in interface org.garret.perst.Storage
Commit changes done by the last transaction.
commitTransaction() - Method in class org.garret.perst.Database
Commit transaction
compare(T, T, int) - Method in class org.garret.perst.MultidimensionalComparator
Compare i-th component of two objects
compareMembers(T, T) - Method in class org.garret.perst.PersistentComparator
Compare two members of collection
compareMemberWithKey(T, Object) - Method in class org.garret.perst.PersistentComparator
Compare member with specified search key
CompileError - Exception in org.garret.perst
Exception thrown by compiler
CompileError(String, int) - Constructor for exception org.garret.perst.CompileError
 
CompressDatabase - Class in org.garret.perst
Utility used to compress database file.
CompressDatabase() - Constructor for class org.garret.perst.CompressDatabase
 
CompressedFile - Class in org.garret.perst
Compressed read-only database file.
CompressedFile(String) - Constructor for class org.garret.perst.CompressedFile
Constructor of comressed file
CompressedReadWriteFile - Class in org.garret.perst
Compressed read-write database file.
CompressedReadWriteFile(String) - Constructor for class org.garret.perst.CompressedReadWriteFile
Constructor of compressed file with default parameter values
CompressedReadWriteFile(String, String, String, long, long, long, boolean, boolean) - Constructor for class org.garret.perst.CompressedReadWriteFile
Constructor of compressed file
CONNECTION_FAILURE - Static variable in exception org.garret.perst.StorageError
 
CONSTRUCTOR_FAILURE - Static variable in exception org.garret.perst.StorageError
 
contains(T) - Method in interface org.garret.perst.FieldIndex
Check if index contains object which is equal to the specified object.
contains(Object) - Method in class org.garret.perst.L2List
Check if object is in collection
contains(Object) - Method in interface org.garret.perst.Link
Check if there is linked object which is equal to the specified object.
contains(Object) - Method in interface org.garret.perst.MultidimensionalIndex
Check if specified object belongs to the index
contains(Object) - Method in class org.garret.perst.PersistentCollection
Returns true if this collection contains the specified element.
contains(Rectangle) - Method in class org.garret.perst.Rectangle
Checks if this rectangle contains the specified rectangle
contains(RectangleR2) - Method in class org.garret.perst.RectangleR2
Checks if this rectangle contains the specified rectangle
contains(T) - Method in interface org.garret.perst.SortedCollection
Check if collections contains member equals to specified object More formally, returns true if and only if this collection contains at least one element e such that (obj==null ?
containsAll(Collection) - Method in class org.garret.perst.L2List
Returns true if this collection contains all of the elements in the specified collection.
containsAll(Collection<?>) - Method in class org.garret.perst.PersistentCollection
Returns true if this collection contains all of the elements in the specified collection.
containsElement(int, T) - Method in interface org.garret.perst.Link
Check if i-th element of Link is the same as specified obj
containsObject(T) - Method in interface org.garret.perst.FieldIndex
Check if index contains specified object instance.
containsObject(T) - Method in interface org.garret.perst.Link
Checks if relation contains specified object instance
containsObject(T) - Method in interface org.garret.perst.SortedCollection
Check if collections contains specified object instance
COOPERATIVE_TRANSACTION - Static variable in interface org.garret.perst.Storage
Cooperative mode; all threads share the same transaction.
countTicks() - Method in interface org.garret.perst.TimeSeries
Get number of elements in time series
createBitIndex() - Method in interface org.garret.perst.Storage
Create new bit index.
createBitmapAllocator(int, long, long, long) - Method in interface org.garret.perst.Storage
Create bitmap custom allocator
createBlob() - Method in interface org.garret.perst.Storage
Create new BLOB.
createFieldIndex(Class, String, boolean) - Method in interface org.garret.perst.Storage
Create new field index
createFieldIndex(Class, String, boolean, boolean) - Method in interface org.garret.perst.Storage
Create new field index
createFieldIndex(Class, String[], boolean) - Method in interface org.garret.perst.Storage
Create new mutlifield index
createFieldIndex(Class, String[], boolean, boolean) - Method in interface org.garret.perst.Storage
Create new mutlifield index
createIndex(Class, boolean) - Method in interface org.garret.perst.Storage
Create new index
createIndex(Class[], boolean) - Method in interface org.garret.perst.Storage
Create new compound index
createLink() - Method in interface org.garret.perst.Storage
Create one-to-many link.
createLink(int) - Method in interface org.garret.perst.Storage
Create one-to-many link with specified initialy alloced size.
createList() - Method in interface org.garret.perst.Storage
Create new peristent list.
createMap(Class) - Method in interface org.garret.perst.Storage
Create scalable persistent map.
createMap(Class, int) - Method in interface org.garret.perst.Storage
Create scalable persistent map.
createMultidimensionalIndex(MultidimensionalComparator<T>) - Method in interface org.garret.perst.Storage
Create new multidimensional index
createMultidimensionalIndex(Class, String[]) - Method in interface org.garret.perst.Storage
Create new multidimensional index for specified fields of the class
createPatriciaTrie() - Method in interface org.garret.perst.Storage
Create PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric) Tries are a kind of tree where each node holds a common part of one or more keys.
createQuery() - Method in interface org.garret.perst.Storage
Create JSQL query.
createRandomAccessBlob() - Method in interface org.garret.perst.Storage
Create new random access BLOB.
createRandomAccessFieldIndex(Class, String, boolean) - Method in interface org.garret.perst.Storage
Create new field index optimized for access by element position.
createRandomAccessFieldIndex(Class, String, boolean, boolean) - Method in interface org.garret.perst.Storage
Create new field index optimized for access by element position.
createRandomAccessFieldIndex(Class, String[], boolean) - Method in interface org.garret.perst.Storage
Create new mutlifield index optimized for access by element position.
createRandomAccessFieldIndex(Class, String[], boolean, boolean) - Method in interface org.garret.perst.Storage
Create new mutlifield index optimized for access by element position.
createRandomAccessIndex(Class, boolean) - Method in interface org.garret.perst.Storage
Create new index optimized for access by element position.
createRandomAccessIndex(Class[], boolean) - Method in interface org.garret.perst.Storage
Create new compound index optimized for access by element position.
createRelation(O) - Method in interface org.garret.perst.Storage
Create relation object.
createReplicationMasterStorage(int, String[], int) - Method in class org.garret.perst.StorageFactory
Create new instance of the master node of replicated storage.
createReplicationSlaveStorage(int) - Method in class org.garret.perst.StorageFactory
Create new instance of the static slave node of replicated storage.
createScalableList() - Method in interface org.garret.perst.Storage
Create new scalable list of persistent objects.
createScalableList(int) - Method in interface org.garret.perst.Storage
Create new scalable list of persistent objects.
createScalableSet() - Method in interface org.garret.perst.Storage
Create new scalable set references to persistent objects.
createScalableSet(int) - Method in interface org.garret.perst.Storage
Create new scalable set references to persistent objects.
createSet() - Method in interface org.garret.perst.Storage
Create new peristent set.
createSortedCollection(PersistentComparator<T>, boolean) - Method in interface org.garret.perst.Storage
Create new sorted collection
createSpatialIndex() - Method in interface org.garret.perst.Storage
Create new spatial index with integer coordinates
createSpatialIndexR2() - Method in interface org.garret.perst.Storage
Create new R2 spatial index
createStorage() - Method in class org.garret.perst.StorageFactory
Create new instance of the storage
createThickIndex(Class) - Method in interface org.garret.perst.Storage
Create new think index (index with large number of duplicated keys)
createTimeSeries(Class, long) - Method in interface org.garret.perst.Storage
Create new time series object.
CustomAllocator - Interface in org.garret.perst
Custom allocator interface.
CustomSerializable - Interface in org.garret.perst
Interface used to mark objects serialized using custom serializer
CustomSerializer - Interface in org.garret.perst
Interface of custome serializer

D

Database - Class in org.garret.perst
This class emulates relational database on top of Perst storage It maintain class extends, associated indices, prepare queries.
Database(Storage, boolean) - Constructor for class org.garret.perst.Database
Constructor of database.
Database(Storage, boolean, boolean) - Constructor for class org.garret.perst.Database
Constructor of database.
Database(Storage) - Constructor for class org.garret.perst.Database
Constructor of single threaded database.
DATABASE_CORRUPTED - Static variable in exception org.garret.perst.StorageError
 
databaseCorrupted() - Method in class org.garret.perst.StorageListener
This metod is called during database open when database was not close normally and has to be recovered
deallocate() - Method in interface org.garret.perst.IPersistent
Deallocate persistent object from the database
deallocate() - Method in class org.garret.perst.Persistent
 
deallocateObject(IPersistent) - Method in interface org.garret.perst.Storage
 
deallocateObject(Class, int) - Method in class org.garret.perst.StorageListener
This method is called when unreferenced object is deallocated from database.
DEFAULT_PAGE_POOL_SIZE - Static variable in interface org.garret.perst.Storage
Constant specifying default pool size
DELETED_OBJECT - Static variable in exception org.garret.perst.StorageError
 
deleteRecord(T) - Method in class org.garret.perst.Database
Delete record from the table.
deleteRecord(Class, T) - Method in class org.garret.perst.Database
Delete record from the specified table.
DESCENT_ORDER - Static variable in interface org.garret.perst.GenericIndex
 
DESCRIPTOR_FAILURE - Static variable in exception org.garret.perst.StorageError
 
DOUBLE_SEGMENT_SIZE - Static variable in interface org.garret.perst.Blob
 
dropIndex(Class, String) - Method in class org.garret.perst.Database
Drop index for the specified table and key.
dropTable(Class) - Method in class org.garret.perst.Database
Drop table associated with this class.
dval - Variable in class org.garret.perst.Key
 

E

elements() - Method in interface org.garret.perst.PatriciaTrie
Get list of all elements in the Trie
elements() - Method in interface org.garret.perst.TimeSeries
Get list of alements in the time series (in ascending order)
EmbeddedLink<T extends IPersistent> - Interface in org.garret.perst
There are two kind of links in Perst: embedded and implemented as standalone object (collection).
EMPTY_VALUE - Static variable in exception org.garret.perst.StorageError
 
ENABLE_SEGMENT_CACHING - Static variable in interface org.garret.perst.Blob
 
enableRuntimeErrorReporting(boolean) - Method in interface org.garret.perst.Query
Enable or disable reporting of runtime errors on console.
endThreadTransaction() - Method in interface org.garret.perst.Storage
End per-thread transaction started by beginThreadTransaction method.
endThreadTransaction(int) - Method in interface org.garret.perst.Storage
End per-thread cooperative transaction with specified maximal delay of transaction commit.
entryIterator() - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing all entries in the index.
entryIterator(Key, Key, int) - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing index entries with key belonging to the specified range.
entryIterator(Object, Object, int) - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing index entries with key belonging to the specified range.
entryIterator(int, int) - Method in interface org.garret.perst.GenericIndex
Get entry iterator of objects in the index starting with specified position.
entryIterator() - Method in interface org.garret.perst.SpatialIndex
Get entry iterator through all members of the index This iterator doesn't support remove() method.
entryIterator(Rectangle) - Method in interface org.garret.perst.SpatialIndex
Get entry iterator through objects which rectangle intersects with specified rectangle This iterator doesn't support remove() method.
entryIterator() - Method in interface org.garret.perst.SpatialIndexR2
Get entry iterator through all members of the index This iterator doesn't support remove() method.
entryIterator(RectangleR2) - Method in interface org.garret.perst.SpatialIndexR2
Get entry iterator through objects which rectangle intersects with specified rectangle This iterator doesn't support remove() method.
EQ - Static variable in class org.garret.perst.MultidimensionalComparator
 
equals(Object) - Method in class org.garret.perst.Key
 
equals(Object) - Method in class org.garret.perst.Persistent
 
equals(Object) - Method in class org.garret.perst.Rectangle
Check if two rectangles are equal
equals(Object) - Method in class org.garret.perst.RectangleR2
Check if two rectangles are equal
excludeFromIndex(IPersistent, String) - Method in class org.garret.perst.Database
Exclude record from specified index.
excludeFromIndex(Class, IPersistent, String) - Method in class org.garret.perst.Database
Exclude record from specified index.
EXCLUSIVE_TRANSACTION - Static variable in interface org.garret.perst.Storage
Exclusive per-thread transaction: each thread access database in exclusive mode
exclusiveLock() - Method in interface org.garret.perst.IResource
Lock persistent object in exclusive mode.
exclusiveLock(long) - Method in interface org.garret.perst.IResource
Lock persistent object in exclusive mode.
exclusiveLock() - Method in class org.garret.perst.PersistentResource
 
exclusiveLock(long) - Method in class org.garret.perst.PersistentResource
 
execute(Iterator<T>) - Method in interface org.garret.perst.Query
Execute prepared query
exportXML(Writer) - Method in interface org.garret.perst.Storage
Export database in XML format

F

failed() - Static method in class org.garret.perst.Assert
Throw assertion failed exception.
failed(String) - Static method in class org.garret.perst.Assert
Throw assertion failed exception with given description.
FieldIndex<T extends IPersistent> - Interface in org.garret.perst
Interface of indexed field.
FILE_ACCESS_ERROR - Static variable in exception org.garret.perst.StorageError
 
findBestMatch(PatriciaTrieKey) - Method in interface org.garret.perst.PatriciaTrie
Find best match with specified key
findClassLoader(String) - Method in interface org.garret.perst.Storage
Find registered class loaders by name
findExactMatch(PatriciaTrieKey) - Method in interface org.garret.perst.PatriciaTrie
Find exact match with specified key
free(long, long) - Method in interface org.garret.perst.CustomAllocator
Deallocate object previously allocated by this allocator.
from7bitString(String) - Static method in class org.garret.perst.PatriciaTrieKey
 
from8bitString(String) - Static method in class org.garret.perst.PatriciaTrieKey
 
fromByteArray(byte[]) - Static method in class org.garret.perst.PatriciaTrieKey
 
fromDecimalDigits(String) - Static method in class org.garret.perst.PatriciaTrieKey
 
fromIpAddress(InetAddress) - Static method in class org.garret.perst.PatriciaTrieKey
 
fromIpAddress(String) - Static method in class org.garret.perst.PatriciaTrieKey
 

G

gc() - Method in interface org.garret.perst.Storage
Explicit start of garbage collector
gcCompleted(int) - Method in class org.garret.perst.StorageListener
This method is called when garbage collection is completed
gcStarted() - Method in class org.garret.perst.StorageListener
This method is called when garbage collection is started (ether explicitly by invocation of Storage.gc() method, either implicitly after allocation of some amount of memory)).
GenericIndex<T> - Interface in org.garret.perst
Interface of object index.
get(T) - Method in interface org.garret.perst.BitIndex
Get properties of specified object
get(Key) - Method in interface org.garret.perst.GenericIndex
Get object by key (exact match)
get(Key, Key) - Method in interface org.garret.perst.GenericIndex
Get objects which key value belongs to the specified range.
get(Object) - Method in interface org.garret.perst.GenericIndex
Get object by string key (exact match)
get(Object, Object) - Method in interface org.garret.perst.GenericIndex
Get objects which key value belongs to the specified range.
get(int) - Method in interface org.garret.perst.Link
Get related object by index
get() - Method in class org.garret.perst.PersistentString
Get current string value
get(Object) - Method in interface org.garret.perst.SortedCollection
Get member with specified key.
get(Object, Object) - Method in interface org.garret.perst.SortedCollection
Get members which key value belongs to the specified range.
get(Object, boolean, Object, boolean) - Method in interface org.garret.perst.SortedCollection
Get members which key value belongs to the specified range.
get(Rectangle) - Method in interface org.garret.perst.SpatialIndex
Find all objects located in the selected rectangle
get(RectangleR2) - Method in interface org.garret.perst.SpatialIndexR2
Find all objects located in the selected rectangle
getAllVersions() - Method in class org.garret.perst.VersionHistory
Get all versions in version history
getAt(int) - Method in interface org.garret.perst.GenericIndex
Get element at specified position.
getBottom() - Method in class org.garret.perst.Rectangle
Greatest Y coordinate of the rectangle
getBottom() - Method in class org.garret.perst.RectangleR2
Greatest Y coordinate of the rectangle
getClassLoader() - Method in interface org.garret.perst.Storage
Get class loader used to locate classes for loaded class descriptors.
getColumn() - Method in exception org.garret.perst.XMLImportException
 
getComparator() - Method in interface org.garret.perst.MultidimensionalIndex
Get comparator used in this index
getComparator() - Method in interface org.garret.perst.SortedCollection
Get comparator used in this collection
getCurrent() - Method in class org.garret.perst.VersionHistory
Get current version in version history.
getDatabaseFormatVersion() - Method in interface org.garret.perst.Storage
Get version of database format for this database.
getDatabaseSize() - Method in interface org.garret.perst.Storage
Get size of the database
getDate() - Method in class org.garret.perst.Version
Get date of version creation
getEarliestAfter(Date) - Method in class org.garret.perst.VersionHistory
Get earliest version after specified date
getErrorCode() - Method in exception org.garret.perst.StorageError
Get exception error code (see definitions above)
getFieldName() - Method in exception org.garret.perst.JSQLRuntimeException
Get name of the field
getFirstTime() - Method in interface org.garret.perst.TimeSeries
Get timestamp of first time series element
getId() - Method in class org.garret.perst.Version
Get identifier of the version
getIndexedClass() - Method in interface org.garret.perst.FieldIndex
Get class obejct objects which can be inserted in this index
getIndices(Class) - Method in class org.garret.perst.Database
Get indices for the specified table
getInputStream() - Method in interface org.garret.perst.Blob
Get input stream.
getInputStream(int) - Method in interface org.garret.perst.Blob
Get input stream.
getInstance() - Static method in class org.garret.perst.StorageFactory
Get instance of storage factory.
getKeyFields() - Method in interface org.garret.perst.FieldIndex
Get fields used as a key
getKeyType() - Method in interface org.garret.perst.GenericIndex
Get type of index key
getKeyTypes() - Method in interface org.garret.perst.GenericIndex
Get types of index compound key components
getLabels() - Method in class org.garret.perst.Version
Get labels associated with this version
getLastTime() - Method in interface org.garret.perst.TimeSeries
Get timestamp of last time series element
getLatestBefore(Date) - Method in class org.garret.perst.VersionHistory
Get latest version before specified date
getLeft() - Method in class org.garret.perst.Rectangle
Smallest X coordinate of the rectangle
getLeft() - Method in class org.garret.perst.RectangleR2
Smallest X coordinate of the rectangle
getLine() - Method in exception org.garret.perst.XMLImportException
 
getList(Key, Key) - Method in interface org.garret.perst.GenericIndex
Get objects which key value belongs to the specified range.
getList(Object, Object) - Method in interface org.garret.perst.GenericIndex
Get objects which key value belongs to the specified range.
getList(Object, Object) - Method in interface org.garret.perst.SortedCollection
Get members which key value belongs to the specified range.
getList(Object, boolean, Object, boolean) - Method in interface org.garret.perst.SortedCollection
Get members which key value belongs to the specified range.
getList(Rectangle) - Method in interface org.garret.perst.SpatialIndex
Find all objects located in the selected rectangle
getList(RectangleR2) - Method in interface org.garret.perst.SpatialIndexR2
Find all objects located in the selected rectangle
getMemoryDump() - Method in interface org.garret.perst.Storage
Get database memory dump.
getMessageText() - Method in exception org.garret.perst.XMLImportException
 
getName() - Method in interface org.garret.perst.INamedClassLoader
Get name of this class loader.
getNext() - Method in class org.garret.perst.L2ListElem
Get next list element.
getNumberOfAvailableHosts() - Method in interface org.garret.perst.ReplicationMasterStorage
Get number of currently available slave nodes
getNumberOfDimensions() - Method in class org.garret.perst.MultidimensionalComparator
Get number of dimensions
getObjectByOID(int) - Method in interface org.garret.perst.Storage
Retrieve object by OID.
getOid() - Method in interface org.garret.perst.IPersistent
Get object identifier (OID)
getOid() - Method in class org.garret.perst.Persistent
 
getOriginalException() - Method in exception org.garret.perst.StorageError
Get original exception if StorageError excepotion was thrown as the result of catching some other exception within Storage implementation.
getOutputStream() - Method in interface org.garret.perst.Blob
Get output stream to append data to the BLOB.
getOutputStream(boolean) - Method in interface org.garret.perst.Blob
Get output stream to append data to the BLOB.
getOutputStream(long, boolean) - Method in interface org.garret.perst.Blob
Get output stream with specified current postion in BLOB.
getOutputStream(int) - Method in interface org.garret.perst.Blob
Get output stream to append data to the BLOB.
getOwner() - Method in interface org.garret.perst.EmbeddedLink
Get container object for this embedded link
getOwner() - Method in class org.garret.perst.Relation
Get relation owner
getPosition() - Method in interface org.garret.perst.RandomAccessStream
Get current position in the stream
getPredecessors() - Method in class org.garret.perst.Version
Get predecessors of this version
getPrefix(String) - Method in interface org.garret.perst.GenericIndex
Get objects with objects with key started with specified prefix, i.e. getPrefix("abc") will return "abc", "abcd", "abcdef", ... but not "ab".
getPrefixList(String) - Method in interface org.garret.perst.GenericIndex
Get objects with string key prefix
getPrev() - Method in class org.garret.perst.L2ListElem
Get previous list element.
getProperties() - Method in interface org.garret.perst.Storage
Get all set properties
getProperty(String) - Method in interface org.garret.perst.Storage
Get property value.
getRaw(int) - Method in interface org.garret.perst.Link
Get related object by index without loading it.
getRecords(Class) - Method in class org.garret.perst.Database
Get iterator through all table records
getRecords(Class, boolean) - Method in class org.garret.perst.Database
Get iterator through all table records
getRight() - Method in class org.garret.perst.Rectangle
Greatest X coordinate of the rectangle
getRight() - Method in class org.garret.perst.RectangleR2
Greatest X coordinate of the rectangle
getRoot() - Method in interface org.garret.perst.Storage
Get storage root.
getRoot() - Method in class org.garret.perst.VersionHistory
Get root version
getStorage() - Method in class org.garret.perst.Database
Get storage associated with this database
getStorage() - Method in interface org.garret.perst.IPersistent
Get storage in which this object is stored
getStorage() - Method in class org.garret.perst.Persistent
 
getSuccessors() - Method in class org.garret.perst.Version
Get successors of this version
getTarget() - Method in exception org.garret.perst.JSQLRuntimeException
Get class in which lookup was performed
getTick(Date) - Method in interface org.garret.perst.TimeSeries
Get tick for specified data
getTicks() - Method in class org.garret.perst.TimeSeries.Block
Get time series elements stored in this block.
getTime() - Method in interface org.garret.perst.TimeSeries.Tick
Get time series element timestamp
getTop() - Method in class org.garret.perst.Rectangle
Smallest Y coordinate of the rectangle
getTop() - Method in class org.garret.perst.RectangleR2
Smallest Y coordinate of the rectangle
getTransactionContext() - Method in interface org.garret.perst.Storage
This method is used internally by Perst to get transaction context associated with current thread.
getUsedSize() - Method in interface org.garret.perst.Storage
Get total size of all allocated objects in the database
getVersionById(String) - Method in class org.garret.perst.VersionHistory
Get version with specified ID.
getVersionByLabel(String) - Method in class org.garret.perst.VersionHistory
Get version with specified label.
getVersionHistory() - Method in class org.garret.perst.Version
Get version history containing this versioned object
getWrappingRectangle() - Method in interface org.garret.perst.SpatialIndex
Get wrapping rectangle
getWrappingRectangle() - Method in interface org.garret.perst.SpatialIndexR2
Get wrapping rectangle
GT - Static variable in class org.garret.perst.MultidimensionalComparator
 

H

has(Date) - Method in interface org.garret.perst.TimeSeries
Check if data is available in time series for the specified time
hashCode() - Method in class org.garret.perst.Persistent
 
hashCode() - Method in class org.garret.perst.Rectangle
Hash code consists of all rectangle coordinates
hashCode() - Method in class org.garret.perst.RectangleR2
Hash code consists of all rectangle coordinates
hasLabel(String) - Method in class org.garret.perst.Version
Check if version has specified label
hasNext() - Method in class org.garret.perst.IteratorWrapper
 
hasNext() - Method in class org.garret.perst.ThreadSafeIterator
 
head() - Method in class org.garret.perst.L2List
Get list head element

I

ICloneable - Interface in org.garret.perst
This interface allows to clone its implementor.
IFile - Interface in org.garret.perst
Interface of file.
importXML(Reader) - Method in interface org.garret.perst.Storage
Import data from XML file
INamedClassLoader - Interface in org.garret.perst
This interface allows to associate class loader with the particular persistent class.
includeInIndex(IPersistent, String) - Method in class org.garret.perst.Database
Include record in the specified index.
includeInIndex(Class, IPersistent, String) - Method in class org.garret.perst.Database
Include record in the specified index.
inclusion - Variable in class org.garret.perst.Key
 
INCOMPATIBLE_KEY_TYPE - Static variable in exception org.garret.perst.StorageError
 
Index<T extends IPersistent> - Interface in org.garret.perst
Interface of object index.
Indexable - Annotation Type in org.garret.perst
Annotation for marking indexable fields used by Database class to create table descriptors.
INDEXED_FIELD_NOT_FOUND - Static variable in exception org.garret.perst.StorageError
 
indexOfObject(Object) - Method in interface org.garret.perst.Link
Get index of the specified object instance in the relation.
INFINITE_PAGE_POOL - Static variable in interface org.garret.perst.Storage
Constant specifying that page pool should be dynamically extended to conatins all database file pages
insert(int, T) - Method in interface org.garret.perst.Link
Insert new object in the relation
intersects(Rectangle) - Method in class org.garret.perst.Rectangle
Checks if this rectangle intersects with specified rectangle
intersects(RectangleR2) - Method in class org.garret.perst.RectangleR2
Checks if this rectangle intersects with specified rectangle
INVALID_OID - Static variable in exception org.garret.perst.StorageError
 
invalidate() - Method in interface org.garret.perst.IPersistent
Invalidate object.
invalidate() - Method in class org.garret.perst.Persistent
 
IPersistent - Interface in org.garret.perst
Interface of all persistent capable objects
IPersistentList<E extends IPersistent> - Interface in org.garret.perst
Interface for ordered collection (sequence).
IPersistentMap<K extends java.lang.Comparable,V extends IPersistent> - Interface in org.garret.perst
Interface of persistent map
IPersistentSet<T extends IPersistent> - Interface in org.garret.perst
Interface of persistent set.
IResource - Interface in org.garret.perst
Interface of object supporting locking
isCaseInsensitive() - Method in interface org.garret.perst.FieldIndex
Check if field index is case insensitive
isCheckedIn() - Method in class org.garret.perst.Version
Check if version is checked-in
isCheckedOut() - Method in class org.garret.perst.Version
Check if version is checked-out
isConnected() - Method in interface org.garret.perst.ReplicationSlaveStorage
Check if socket is connected to the master host
isDeleted() - Method in interface org.garret.perst.IPersistent
Check if object is deleted by Java GC from process memory
isDeleted() - Method in class org.garret.perst.Persistent
 
isEmpty() - Method in class org.garret.perst.L2List
Check if list is empty
isEmpty() - Method in interface org.garret.perst.Link
Returns true if there are no related object
isEmpty() - Method in class org.garret.perst.PersistentCollection
Returns true if this collection contains no elements.
isModified() - Method in interface org.garret.perst.IPersistent
Check if object was modified within current transaction
isModified() - Method in class org.garret.perst.Persistent
 
isOpened() - Method in interface org.garret.perst.Storage
Check if database is opened
isPersistent() - Method in interface org.garret.perst.IPersistent
Check if object is persistent
isPersistent() - Method in class org.garret.perst.Persistent
 
isRaw() - Method in interface org.garret.perst.IPersistent
Check if object is stub and has to be loaded from the database
isRaw() - Method in class org.garret.perst.Persistent
 
isUnique() - Method in interface org.garret.perst.GenericIndex
Check if index is unique
ITable<T> - Interface in org.garret.perst
Interface of selectable collection.
IterableIterator<T> - Class in org.garret.perst
Interface combining both Iterable and Iterator functionality
IterableIterator() - Constructor for class org.garret.perst.IterableIterator
 
iterator(int, int) - Method in interface org.garret.perst.BitIndex
Get iterator for selecting objects with specified properties.
iterator() - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing all objects in the index.
iterator(Key, Key, int) - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing objects in the index with key belonging to the specified range.
iterator(Object, Object, int) - Method in interface org.garret.perst.GenericIndex
Get iterator for traversing objects in the index with key belonging to the specified range.
iterator() - Method in class org.garret.perst.IterableIterator
This class itself is iterator
iterator() - Method in class org.garret.perst.L2List
Get list iterator.
iterator() - Method in interface org.garret.perst.Link
Get iterator through link members This iterator supports remove() method.
iterator() - Method in interface org.garret.perst.MultidimensionalIndex
Get iterator for traversing all objects in the index.
iterator(T) - Method in interface org.garret.perst.MultidimensionalIndex
Get iterator through objects matching specified pattern object.
iterator(T, T) - Method in interface org.garret.perst.MultidimensionalIndex
Get iterator through objects which field values belongs to the range specified by correspondent fields of low and high objects.
iterator() - Method in interface org.garret.perst.SortedCollection
Get iterator for traversing all collection members.
iterator(Object, Object) - Method in interface org.garret.perst.SortedCollection
Get iterator for traversing collection members with key belonging to the specified range.
iterator(Object, boolean, Object, boolean) - Method in interface org.garret.perst.SortedCollection
Get iterator for traversing collection members with key belonging to the specified range.
iterator() - Method in interface org.garret.perst.SpatialIndex
Get iterator through all members of the index This iterator doesn't support remove() method.
iterator(Rectangle) - Method in interface org.garret.perst.SpatialIndex
Get objects which rectangle intersects with specified rectangle This iterator doesn't support remove() method.
iterator() - Method in interface org.garret.perst.SpatialIndexR2
Get iterator through all members of the index This iterator doesn't support remove() method.
iterator(RectangleR2) - Method in interface org.garret.perst.SpatialIndexR2
Get objects which rectangle intersects with specified rectangle This iterator doesn't support remove() method.
iterator() - Method in interface org.garret.perst.TimeSeries
Get forward iterator through all time series elements This iterator doesn't support remove() method.
iterator(Date, Date) - Method in interface org.garret.perst.TimeSeries
Get forward iterator for time series elements belonging to the specified range This iterator doesn't support remove() method.
iterator(boolean) - Method in interface org.garret.perst.TimeSeries
Get iterator through all time series elements This iterator doesn't support remove() method.
iterator(Date, Date, boolean) - Method in interface org.garret.perst.TimeSeries
Get forward iterator for time series elements belonging to the specified range This iterator doesn't support remove() method.
iterator() - Method in class org.garret.perst.VersionHistory
Get iterator through all version in version history Iteration is started from the root version and performed in direction of increaing version timestamp This iterator supports remove() method.
IteratorWrapper<T> - Class in org.garret.perst
 
IteratorWrapper(Iterator<T>) - Constructor for class org.garret.perst.IteratorWrapper
 
ival - Variable in class org.garret.perst.Key
 
IValue - Interface in org.garret.perst
Interface of objects stored as value.

J

join(Projection<From, To>) - Method in class org.garret.perst.Projection
Join this projection with another projection.
join(Rectangle) - Method in class org.garret.perst.Rectangle
Join two rectangles.
join(Rectangle, Rectangle) - Static method in class org.garret.perst.Rectangle
Non destructive join of two rectangles.
join(RectangleR2) - Method in class org.garret.perst.RectangleR2
Join two rectangles.
join(RectangleR2, RectangleR2) - Static method in class org.garret.perst.RectangleR2
Non destructive join of two rectangles.
join(Iterator[]) - Method in interface org.garret.perst.Storage
Join results of several index searches.
joinArea(Rectangle, Rectangle) - Static method in class org.garret.perst.Rectangle
Area of covered rectangle for two sepcified rectangles
joinArea(RectangleR2, RectangleR2) - Static method in class org.garret.perst.RectangleR2
Area of covered rectangle for two sepcified rectangles
JSQLArithmeticException - Exception in org.garret.perst
Exception thown in case of incorect operands for integer operations
JSQLArithmeticException(String) - Constructor for exception org.garret.perst.JSQLArithmeticException
Constructor of exception
JSQLNoSuchFieldException - Exception in org.garret.perst
Exception thown when field is not found during runtime lookup
JSQLNoSuchFieldException(Class, String) - Constructor for exception org.garret.perst.JSQLNoSuchFieldException
Constructor of exception
JSQLNullPointerException - Exception in org.garret.perst
Exception thown when null reference field is dereferenced
JSQLNullPointerException(Class, String) - Constructor for exception org.garret.perst.JSQLNullPointerException
Constructor of exception
JSQLRuntimeError(JSQLRuntimeException) - Method in class org.garret.perst.StorageListener
This method is called when runtime error happen during execution of JSQL query
JSQLRuntimeException - Exception in org.garret.perst
Exception thown by JSQL at runtime which should be ignored and boolean expression caused this exption should be treated as false
JSQLRuntimeException(String, Class, String) - Constructor for exception org.garret.perst.JSQLRuntimeException
Constructor of exception

K

Key - Class in org.garret.perst
Class for specifying key value (needed to access obejct by key usig index)
Key(boolean) - Constructor for class org.garret.perst.Key
Constructor of boolean key (boundary is inclusive)
Key(byte) - Constructor for class org.garret.perst.Key
Constructor of byte key (boundary is inclusive)
Key(char) - Constructor for class org.garret.perst.Key
Constructor of char key (boundary is inclusive)
Key(short) - Constructor for class org.garret.perst.Key
Constructor of short key (boundary is inclusive)
Key(int) - Constructor for class org.garret.perst.Key
Constructor of int key (boundary is inclusive)
Key(long) - Constructor for class org.garret.perst.Key
Constructor of long key (boundary is inclusive)
Key(float) - Constructor for class org.garret.perst.Key
Constructor of float key (boundary is inclusive)
Key(double) - Constructor for class org.garret.perst.Key
Constructor of double key (boundary is inclusive)
Key(Date) - Constructor for class org.garret.perst.Key
Constructor of date key (boundary is inclusive)
Key(String) - Constructor for class org.garret.perst.Key
Constructor of string key (boundary is inclusive)
Key(char[]) - Constructor for class org.garret.perst.Key
Constructor of array of char key (boundary is inclusive)
Key(byte[]) - Constructor for class org.garret.perst.Key
Constructor of array of byte key (boundary is inclusive)
Key(Comparable) - Constructor for class org.garret.perst.Key
Constructor of key of user defined type (boundary is inclusive)
Key(Enum) - Constructor for class org.garret.perst.Key
Constructor of key of enum type (boundary is inclusive)
Key(Object[]) - Constructor for class org.garret.perst.Key
Constructor of compound key (boundary is inclusive)
Key(Object, Object) - Constructor for class org.garret.perst.Key
Constructor of compound key with two values (boundary is inclusive)
Key(IPersistent) - Constructor for class org.garret.perst.Key
Constructor of key with persistent object reference (boundary is inclusive)
Key(boolean, boolean) - Constructor for class org.garret.perst.Key
Constructor of boolean key
Key(byte, boolean) - Constructor for class org.garret.perst.Key
Constructor of byte key
Key(char, boolean) - Constructor for class org.garret.perst.Key
Constructor of char key
Key(short, boolean) - Constructor for class org.garret.perst.Key
Constructor of short key
Key(int, boolean) - Constructor for class org.garret.perst.Key
Constructor of int key
Key(long, boolean) - Constructor for class org.garret.perst.Key
Constructor of long key
Key(float, boolean) - Constructor for class org.garret.perst.Key
Constructor of float key
Key(double, boolean) - Constructor for class org.garret.perst.Key
Constructor of double key
Key(Date, boolean) - Constructor for class org.garret.perst.Key
Constructor of date key
Key(String, boolean) - Constructor for class org.garret.perst.Key
Constructor of string key
Key(char[], boolean) - Constructor for class org.garret.perst.Key
Constructor of array of char key
Key(IPersistent, boolean) - Constructor for class org.garret.perst.Key
Constructor of key with persistent object reference
Key(Object[], boolean) - Constructor for class org.garret.perst.Key
Constructor of compound key
Key(Comparable, boolean) - Constructor for class org.garret.perst.Key
Constructor of key of used defined type
Key(Enum, boolean) - Constructor for class org.garret.perst.Key
Constructor of key of enum type
Key(Object, Object, boolean) - Constructor for class org.garret.perst.Key
Constructor of compound key with two values
Key(byte[], boolean) - Constructor for class org.garret.perst.Key
Constructor of byte array key
KEY_NOT_FOUND - Static variable in exception org.garret.perst.StorageError
 
KEY_NOT_UNIQUE - Static variable in exception org.garret.perst.StorageError
 

L

L2List - Class in org.garret.perst
Double linked list.
L2List() - Constructor for class org.garret.perst.L2List
 
L2ListElem - Class in org.garret.perst
Double linked list element.
L2ListElem() - Constructor for class org.garret.perst.L2ListElem
 
lastIndexOfObject(Object) - Method in interface org.garret.perst.Link
Get index of the specified object instance in the relation This method use comparison by object identity (instead of equals() method) and is significantly faster than List.indexOf() method
LEFT_UNDEFINED - Static variable in class org.garret.perst.MultidimensionalComparator
 
length() - Method in class org.garret.perst.CompressedFile
 
length() - Method in class org.garret.perst.CompressedReadWriteFile
 
length() - Method in interface org.garret.perst.IFile
Length of the file
length() - Method in class org.garret.perst.MappedFile
 
length() - Method in class org.garret.perst.NullFile
 
length - Variable in class org.garret.perst.PatriciaTrieKey
Length of bit vector (can not be larger than 64)
Link<T extends IPersistent> - Interface in org.garret.perst
Interface for one-to-many relation.
linkAfter(L2ListElem) - Method in class org.garret.perst.L2ListElem
Link specified element in the list after this element
linkBefore(L2ListElem) - Method in class org.garret.perst.L2ListElem
Link specified element in the list before this element
load() - Method in interface org.garret.perst.IPersistent
Load object from the database (if needed)
load() - Method in class org.garret.perst.Persistent
 
loadAndModify() - Method in interface org.garret.perst.IPersistent
Load object from the database (if needed) and mark it as modified
loadAndModify() - Method in class org.garret.perst.Persistent
 
loadObject(IPersistent) - Method in interface org.garret.perst.Storage
 
lock(boolean) - Method in class org.garret.perst.CompressedFile
 
lock(boolean) - Method in class org.garret.perst.CompressedReadWriteFile
 
lock(boolean) - Method in interface org.garret.perst.IFile
Lock file
lock(boolean) - Method in class org.garret.perst.MappedFile
 
lock(boolean) - Method in class org.garret.perst.NullFile
 
LOCK_FAILED - Static variable in exception org.garret.perst.StorageError
 
lockObject(IPersistent) - Method in interface org.garret.perst.Storage
 
LT - Static variable in class org.garret.perst.MultidimensionalComparator
 
lval - Variable in class org.garret.perst.Key
 

M

main(String[]) - Static method in class org.garret.perst.CompressDatabase
This utility accepts one argument: path to database file.
makePersistent(Storage) - Method in interface org.garret.perst.IPersistent
Explicitely make object peristent.
makePersistent(Storage) - Method in class org.garret.perst.Persistent
 
makePersistent(IPersistent) - Method in interface org.garret.perst.Storage
Explicitely make object peristent.
MappedFile - Class in org.garret.perst
Class using NIO mapping file on virtual mapping.
MappedFile(String, long, boolean) - Constructor for class org.garret.perst.MappedFile
 
mask - Variable in class org.garret.perst.PatriciaTrieKey
Bit mask representing bit vector.
MemoryUsage - Class in org.garret.perst
Information about memory usage for the correspondent class.
MemoryUsage(Class) - Constructor for class org.garret.perst.MemoryUsage
MemoryUsage constructor
merge(Iterator[]) - Method in interface org.garret.perst.Storage
Merge results of several index searches.
modify() - Method in interface org.garret.perst.IPersistent
Mark object as modified.
modify() - Method in class org.garret.perst.Persistent
 
modifyObject(IPersistent) - Method in interface org.garret.perst.Storage
 
MultidimensionalComparator<T> - Class in org.garret.perst
Base class for multidimensional persistent comparator used in multidimensional index
MultidimensionalIndex<T extends IPersistent> - Interface in org.garret.perst
Interface of multidimensional index.

N

NE - Static variable in class org.garret.perst.MultidimensionalComparator
 
newVersion() - Method in class org.garret.perst.Version
Create new version which will be direct successor of this version.
next() - Method in class org.garret.perst.IteratorWrapper
 
next() - Method in class org.garret.perst.ThreadSafeIterator
 
nextOid() - Method in interface org.garret.perst.PersistentIterator
Get OID of the next object
nInstances - Variable in class org.garret.perst.MemoryUsage
Number of reachable instance of the particular class in the database.
NO_SUCH_PROPERTY - Static variable in exception org.garret.perst.StorageError
 
NOT_ENOUGH_SPACE - Static variable in exception org.garret.perst.StorageError
 
NULL_VALUE - Static variable in exception org.garret.perst.StorageError
 
NullFile - Class in org.garret.perst
This implementation of IFile interface can be used to make Perst an main-memory database.
NullFile() - Constructor for class org.garret.perst.NullFile
 

O

onLoad() - Method in interface org.garret.perst.IPersistent
Method called by the database after loading of the object.
onLoad() - Method in class org.garret.perst.Persistent
 
onStore() - Method in interface org.garret.perst.IPersistent
Method called by the database before storing of the object.
onStore() - Method in class org.garret.perst.Persistent
 
open(String, int) - Method in interface org.garret.perst.Storage
Open the storage
open(IFile, int) - Method in interface org.garret.perst.Storage
Open the storage
open(IFile) - Method in interface org.garret.perst.Storage
Open the storage with default page pool size
open(String) - Method in interface org.garret.perst.Storage
Open the storage with default page pool size
open(String, int, String) - Method in interface org.garret.perst.Storage
Open the encrypted storage
org.garret.perst - package org.garret.perst
 
oval - Variable in class org.garret.perst.Key
 

P

pack(CustomSerializable, OutputStream) - Method in interface org.garret.perst.CustomSerializer
Serialize object
parse(String) - Method in interface org.garret.perst.CustomSerializer
Create object from its string representation
PatriciaTrie<T extends IPersistent> - Interface in org.garret.perst
PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric).
PatriciaTrieKey - Class in org.garret.perst
Convert different type of keys to 64-bit long value used in PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric)
PatriciaTrieKey(long, int) - Constructor for class org.garret.perst.PatriciaTrieKey
 
Persistent - Class in org.garret.perst
Base class for all persistent capable objects
Persistent() - Constructor for class org.garret.perst.Persistent
 
Persistent(Storage) - Constructor for class org.garret.perst.Persistent
 
PersistentCollection<T> - Class in org.garret.perst
 
PersistentCollection() - Constructor for class org.garret.perst.PersistentCollection
Default constructor
PersistentCollection(Storage) - Constructor for class org.garret.perst.PersistentCollection
Constructor of the collection associated with the specified storage
PersistentComparator<T extends IPersistent> - Class in org.garret.perst
Base class for persistent comparator used in SortedCollection class
PersistentComparator() - Constructor for class org.garret.perst.PersistentComparator
 
PersistentIterator - Interface in org.garret.perst
Interface implemented by all Perst iterators allowing to get OID of the current object
PersistentResource - Class in org.garret.perst
Base class for persistent capable objects supporting locking
PersistentResource() - Constructor for class org.garret.perst.PersistentResource
 
PersistentResource(Storage) - Constructor for class org.garret.perst.PersistentResource
 
PersistentString - Class in org.garret.perst
Class encapsulating native Java string. java.lang.String is not persistent object so it can not be stored in Perst as independent persistent object.
PersistentString(String) - Constructor for class org.garret.perst.PersistentString
Consutrctor of perisstent string
pin() - Method in interface org.garret.perst.Link
Replace references to elements with direct references.
prefixIterator(String) - Method in interface org.garret.perst.GenericIndex
Get iterator for records which keys started with specified prefix Objects are iterated in the ascent key order.
prefixSearch(String) - Method in interface org.garret.perst.GenericIndex
Locate all objects which key is prefix of specified word, i.e. prefixSearch("12345") will return "12", "123", "1234", "12345", but not "123456"
prefixSearchList(String) - Method in interface org.garret.perst.GenericIndex
Locate all objects which key is prefix of specified word.
prepare(Class, String) - Method in class org.garret.perst.Database
Prepare JSQL query.
prepare(Class, String, boolean) - Method in class org.garret.perst.Database
Prepare JSQL query.
prepare(Class, String) - Method in interface org.garret.perst.Query
Prepare SQL statement
prepare(String, String) - Method in interface org.garret.perst.Query
Prepare SQL statement
prepend(L2ListElem) - Method in class org.garret.perst.L2List
Insert element at the beginning of the list
project(From[]) - Method in class org.garret.perst.Projection
Project specified selection
project(From) - Method in class org.garret.perst.Projection
Project specified object
project(Iterator<From>) - Method in class org.garret.perst.Projection
Project specified selection
project(Collection<From>) - Method in class org.garret.perst.Projection
Project specified selection
Projection<From extends IPersistent,To extends IPersistent> - Class in org.garret.perst
Class use to project selected objects using relation field.
Projection(Class, String) - Constructor for class org.garret.perst.Projection
Constructor of projection specified by class and field name of projected objects
Projection() - Constructor for class org.garret.perst.Projection
Default constructor of projection.
prune() - Method in class org.garret.perst.L2ListElem
Make list empty.
put(T, int) - Method in interface org.garret.perst.BitIndex
Put new object in the index.
put(T) - Method in interface org.garret.perst.FieldIndex
Put new object in the index.
put(Key, T) - Method in interface org.garret.perst.Index
Put new object in the index.
put(Object, T) - Method in interface org.garret.perst.Index
Put new object in the index.
put(Rectangle, T) - Method in interface org.garret.perst.SpatialIndex
Put new object in the index.
put(RectangleR2, T) - Method in interface org.garret.perst.SpatialIndexR2
Put new object in the index.

Q

Query<T> - Interface in org.garret.perst
Class representing JSQL query.
queryByExample(T) - Method in interface org.garret.perst.FieldIndex
Locate objects with the same value of the key as specified object
queryByExample(T) - Method in interface org.garret.perst.MultidimensionalIndex
Get array of index members matching specified pattern object.
queryByExample(T, T) - Method in interface org.garret.perst.MultidimensionalIndex
Get array of index members which field values belongs to the range specified by correspondent fields of low and high objects.

R

RandomAccessInputStream - Class in org.garret.perst
Random access extension of java.io.InputStream
RandomAccessInputStream() - Constructor for class org.garret.perst.RandomAccessInputStream
 
RandomAccessOutputStream - Class in org.garret.perst
Random access extension of java.io.OutputStream
RandomAccessOutputStream() - Constructor for class org.garret.perst.RandomAccessOutputStream
 
RandomAccessStream - Interface in org.garret.perst
This interface extends nomal Java streams with seek capability.
read(long, byte[]) - Method in class org.garret.perst.CompressedFile
 
read(long, byte[]) - Method in class org.garret.perst.CompressedReadWriteFile
 
read(long, byte[]) - Method in interface org.garret.perst.IFile
Read data from the file
read(long, byte[]) - Method in class org.garret.perst.MappedFile
 
read(long, byte[]) - Method in class org.garret.perst.NullFile
 
READ_ONLY_TRANSACTION - Static variable in interface org.garret.perst.Storage
Alias for COOPERATIVE_TRANSACTION.
READ_WRITE_TRANSACTION - Static variable in interface org.garret.perst.Storage
Alias for EXCLUSIVE_TRANSACTION.
readExternal(ObjectInput) - Method in class org.garret.perst.Persistent
 
reallocate(long, long, long) - Method in interface org.garret.perst.CustomAllocator
Reallocate object previously allocated by this allocator.
recoveryCompleted() - Method in class org.garret.perst.StorageListener
This method is called after completion of recovery
Rectangle - Class in org.garret.perst
R2 rectangle class.
Rectangle(Rectangle) - Constructor for class org.garret.perst.Rectangle
Create copy of the rectangle
Rectangle(int, int, int, int) - Constructor for class org.garret.perst.Rectangle
Construct rectangle with specified coordinates
Rectangle() - Constructor for class org.garret.perst.Rectangle
Default constructor for PERST
RectangleR2 - Class in org.garret.perst
R2 rectangle class.
RectangleR2(RectangleR2) - Constructor for class org.garret.perst.RectangleR2
Create copy of the rectangle
RectangleR2(double, double, double, double) - Constructor for class org.garret.perst.RectangleR2
Construct rectangle with specified coordinates
RectangleR2() - Constructor for class org.garret.perst.RectangleR2
Default constructor for PERST
recursiveLoading() - Method in interface org.garret.perst.IPersistent
Specified whether object should be automatically loaded when it is referenced by other loaded peristent object.
recursiveLoading() - Method in class org.garret.perst.Persistent
 
registerClassLoader(INamedClassLoader) - Method in interface org.garret.perst.Storage
Register named class loader in the storage.
registerCustomAllocator(Class, CustomAllocator) - Method in interface org.garret.perst.Storage
Register custom allocator for specified class.
Relation<M extends IPersistent,O extends IPersistent> - Class in org.garret.perst
Class representing relation between owner and members
Relation(O) - Constructor for class org.garret.perst.Relation
Relation constructor.
remove(T) - Method in interface org.garret.perst.BitIndex
Remove object from the index
remove(T) - Method in interface org.garret.perst.FieldIndex
Remove object from the index
remove(Key) - Method in interface org.garret.perst.FieldIndex
Remove object with specified key from the unique index
remove(Key, T) - Method in interface org.garret.perst.Index
Remove object with specified key from the index
remove(Key) - Method in interface org.garret.perst.Index
Remove key from the unique index.
remove(Object, T) - Method in interface org.garret.perst.Index
Remove object with specified key from the index
remove(String) - Method in interface org.garret.perst.Index
Remove key from the unique string index.
remove() - Method in class org.garret.perst.IteratorWrapper
 
remove(L2ListElem) - Method in class org.garret.perst.L2List
Remove element from the list
remove(Object) - Method in class org.garret.perst.L2List
Remove object from the list
remove(Object) - Method in interface org.garret.perst.Link
Remove object from the relation
remove(T) - Method in interface org.garret.perst.MultidimensionalIndex
Remove object from the index
remove(PatriciaTrieKey) - Method in interface org.garret.perst.PatriciaTrie
Removes key from the triesKFind exact match with specified key
remove(Object) - Method in class org.garret.perst.PersistentCollection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove(T) - Method in interface org.garret.perst.SortedCollection
Remove member from collection
remove(Rectangle, T) - Method in interface org.garret.perst.SpatialIndex
Remove object with specified enveloping rectangle from the tree.
remove(RectangleR2, T) - Method in interface org.garret.perst.SpatialIndexR2
Remove object with specified enveloping rectangle from the tree.
remove() - Method in class org.garret.perst.ThreadSafeIterator
 
remove(Date, Date) - Method in interface org.garret.perst.TimeSeries
Remove timeseries elements belonging to the specified range
removeAll(Collection) - Method in class org.garret.perst.L2List
Removes from this collection all of its elements that are contained in the specified collection (optional operation).
removeAll(Collection<?>) - Method in class org.garret.perst.PersistentCollection
Removes from this collection all of its elements that are contained in the specified collection (optional operation).
removeKey(Object) - Method in interface org.garret.perst.FieldIndex
Remove object with specified key from the unique index
removeKey(Object) - Method in interface org.garret.perst.Index
Remove key from the unique index.
removeObject(int) - Method in interface org.garret.perst.Link
Remove object with specified index from the relation Unlike Link.remove methos this method doesn't return removed element and so is faster if it is not needed (it has not to be fetched from the database)
REPLICATION_SLAVE_TRANSACTION - Static variable in interface org.garret.perst.Storage
Read only transaction which can be started at replicastion slave node.
replicationError(String) - Method in class org.garret.perst.StorageListener
Handle replication error
ReplicationMasterStorage - Interface in org.garret.perst
Storage performing replication of changed pages to specified slave nodes.
ReplicationSlaveStorage - Interface in org.garret.perst
Storage reciving modified pages from replication master and been able to run read-only transactions
reset() - Method in interface org.garret.perst.IResource
Reset resource to original state.
reset() - Method in class org.garret.perst.PersistentResource
 
reset() - Method in class org.garret.perst.Projection
Reset projection - clear result of preceding project and join operations
resolve(Object) - Method in interface org.garret.perst.Resolver
Resolve object
Resolver - Interface in org.garret.perst
Abstraction of class resolver.
retainAll(Collection) - Method in class org.garret.perst.L2List
Retains only the elements in this collection that are contained in the specified collection (optional operation).
retainAll(Collection<?>) - Method in class org.garret.perst.PersistentCollection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
RIGHT_UNDEFINED - Static variable in class org.garret.perst.MultidimensionalComparator
 
rollback() - Method in interface org.garret.perst.Storage
Rollback changes made by the last transaction
rollbackThreadTransaction() - Method in interface org.garret.perst.Storage
Rollback per-thread transaction.
rollbackTransaction() - Method in class org.garret.perst.Database
Rollback transaction

S

SCHEMA_CHANGED - Static variable in exception org.garret.perst.StorageError
 
select(Class, String) - Method in class org.garret.perst.Database
Select record from specified table
select(Class, String, boolean) - Method in class org.garret.perst.Database
Select record from specified table
select(String) - Method in interface org.garret.perst.FieldIndex
Select members of the collection using search predicate This iterator doesn't support remove() method.
select(Class, String) - Method in interface org.garret.perst.IPersistentMap
Select values of the map using search predicate This iterator doesn't support remove() method.
select(Class, String) - Method in interface org.garret.perst.ITable
Select members of the collection using search predicate This iterator doesn't support remove() method.
select(Class, String) - Method in class org.garret.perst.L2List
Select members of the collection using search predicate This iterator doesn't support remove() method.
select(Class, String) - Method in class org.garret.perst.PersistentCollection
 
select(Class, Iterator<T>, String) - Method in interface org.garret.perst.Query
Execute query
select(String, Iterator<T>, String) - Method in interface org.garret.perst.Query
Execute query
SERIALIZABLE_TRANSACTION - Static variable in interface org.garret.perst.Storage
Serializable per-thread transaction.
SERIALIZE_PERSISTENT - Static variable in exception org.garret.perst.StorageError
 
set(T) - Method in interface org.garret.perst.FieldIndex
Associate new object with the key specified by object field value.
set(Key, T) - Method in interface org.garret.perst.Index
Associate new value with the key.
set(Object, T) - Method in interface org.garret.perst.Index
Associate new value with specified key.
set(int, T) - Method in interface org.garret.perst.Link
Replace i-th element of the relation
set(String) - Method in class org.garret.perst.PersistentString
Assign new string value to the PersistentString
setBoolParameter(int, boolean) - Method in interface org.garret.perst.Query
Set value of query parameter
setClassLoader(ClassLoader) - Method in interface org.garret.perst.Storage
Set class loader.
setCurrent(V) - Method in class org.garret.perst.VersionHistory
Set new current version in version history
setCustomSerializer(CustomSerializer) - Method in interface org.garret.perst.Storage
Set custom serializer used fot packing/unpacking fields of persistent objects which types implemplemet CustomSerializable interface
setGcThreshold(long) - Method in interface org.garret.perst.Storage
Set threshold for initiation of garbage collection.
setIntParameter(int, long) - Method in interface org.garret.perst.Query
Set value of query parameter
setListener(StorageListener) - Method in interface org.garret.perst.Storage
Set storage listener.
setObject(int, T) - Method in interface org.garret.perst.Link
Assign value to i-th element of the relation.
setOwner(IPersistent) - Method in interface org.garret.perst.EmbeddedLink
Set container object for this embedded link
setOwner(O) - Method in class org.garret.perst.Relation
Set relation owner
setParameter(int, Object) - Method in interface org.garret.perst.Query
Set value of query parameter
setPosition(long) - Method in interface org.garret.perst.RandomAccessStream
Set position in the stream
setProjectionField(Class, String) - Method in class org.garret.perst.Projection
Specify class of the projected objects and projection field name
setProperties(Properties) - Method in interface org.garret.perst.Storage
Set database properties.
setProperty(String, Object) - Method in interface org.garret.perst.Storage
Set database property.
setRealParameter(int, double) - Method in interface org.garret.perst.Query
Set value of query parameter
setResolver(Class, Class, Resolver) - Method in interface org.garret.perst.Query
Specify resolver.
setRoot(IPersistent) - Method in interface org.garret.perst.Storage
Set new storage root object.
setSize(int) - Method in interface org.garret.perst.Link
Set number of the linked objects
setTransactionContext(ThreadTransactionContext) - Method in interface org.garret.perst.Storage
Associate transaction context with the thread This method can be used by application to share the same transaction between multiple threads
sharedLock() - Method in interface org.garret.perst.IResource
Lock persistent object in shared mode.
sharedLock(long) - Method in interface org.garret.perst.IResource
Lock persistent object in shared mode.
sharedLock() - Method in class org.garret.perst.PersistentResource
 
sharedLock(long) - Method in class org.garret.perst.PersistentResource
 
size() - Method in interface org.garret.perst.BitIndex
Get number of objects in the index
size() - Method in interface org.garret.perst.GenericIndex
Get number of objects in the index
size() - Method in class org.garret.perst.L2List
Get size of the list
size() - Method in interface org.garret.perst.Link
Get number of the linked objects
size() - Method in interface org.garret.perst.MultidimensionalIndex
Get number of objects in the index
size() - Method in interface org.garret.perst.RandomAccessStream
Get size of the stream
size() - Method in interface org.garret.perst.SortedCollection
Get number of objects in the collection
size() - Method in interface org.garret.perst.SpatialIndex
Get number of objects in the index
size() - Method in interface org.garret.perst.SpatialIndexR2
Get number of objects in the index
size() - Method in interface org.garret.perst.TimeSeries
Get number of elements in time series
SortedCollection<T extends IPersistent> - Interface in org.garret.perst
Interface of sorted collection.
SpatialIndex<T extends IPersistent> - Interface in org.garret.perst
Interface of object spatial index.
SpatialIndexR2<T extends IPersistent> - Interface in org.garret.perst
Interface of object spatial index.
Storage - Interface in org.garret.perst
Object storage
STORAGE_ALREADY_OPENED - Static variable in exception org.garret.perst.StorageError
 
STORAGE_IS_USED - Static variable in exception org.garret.perst.StorageError
 
STORAGE_NOT_OPENED - Static variable in exception org.garret.perst.StorageError
 
StorageError - Exception in org.garret.perst
Exception throw by storage implementation
StorageError(int) - Constructor for exception org.garret.perst.StorageError
 
StorageError(int, Exception) - Constructor for exception org.garret.perst.StorageError
 
StorageError(int, Object) - Constructor for exception org.garret.perst.StorageError
 
StorageError(int, Object, Exception) - Constructor for exception org.garret.perst.StorageError
 
StorageFactory - Class in org.garret.perst
Storage factory
StorageFactory() - Constructor for class org.garret.perst.StorageFactory
 
StorageListener - Class in org.garret.perst
Listener of database events.
StorageListener() - Constructor for class org.garret.perst.StorageListener
 
store() - Method in interface org.garret.perst.IPersistent
Save object in the database
store() - Method in class org.garret.perst.Persistent
 
storeFinalizedObject(IPersistent) - Method in interface org.garret.perst.Storage
 
storeObject(IPersistent) - Method in interface org.garret.perst.Storage
 
sync() - Method in class org.garret.perst.CompressedFile
 
sync() - Method in class org.garret.perst.CompressedReadWriteFile
 
sync() - Method in interface org.garret.perst.IFile
Flush all fiels changes to the disk
sync() - Method in class org.garret.perst.MappedFile
 
sync() - Method in class org.garret.perst.NullFile
 

T

tail() - Method in class org.garret.perst.L2List
Get list tail element
that(boolean) - Static method in class org.garret.perst.Assert
Check specified condition and raise AssertionFailed exception if it is not true.
that(String, boolean) - Static method in class org.garret.perst.Assert
Check specified condition and raise AssertionFailed exception if it is not true.
ThreadSafeIterator<T> - Class in org.garret.perst
This class is used to make it possible to iterate collection without locking it and when cokkection can be currently updated by other threads.
ThreadSafeIterator(IResource, Iterator<T>) - Constructor for class org.garret.perst.ThreadSafeIterator
 
throwObject(IPersistent) - Method in interface org.garret.perst.Storage
 
TimeSeries<T extends TimeSeries.Tick> - Interface in org.garret.perst
Time series interface.
TimeSeries.Block - Class in org.garret.perst
Abstract base class for time series block.
TimeSeries.Block() - Constructor for class org.garret.perst.TimeSeries.Block
 
TimeSeries.Tick - Interface in org.garret.perst
Interface for timeseries element.
timestamp - Variable in class org.garret.perst.TimeSeries.Block
 
toArray() - Method in class org.garret.perst.L2List
Get array of the list elements
toArray(Object[]) - Method in class org.garret.perst.L2List
Returns an array containing all of the elements in this list in the correct order; the runtime type of the returned array is that of the specified array.
toArray(T[]) - Method in interface org.garret.perst.Link
Get all relation members as array.
TOO_MUCH_OBJECTS - Static variable in exception org.garret.perst.StorageError
 
toPersistentArray() - Method in interface org.garret.perst.GenericIndex
Get all objects in the index as array ordered by index key.
toPersistentArray() - Method in interface org.garret.perst.Link
Get relation members as array of object
toPersistentArray() - Method in class org.garret.perst.Projection
Get result of preceding project and join operations
toPersistentArray() - Method in interface org.garret.perst.SortedCollection
Get all objects in the index as array ordered by index key.
toRawArray() - Method in interface org.garret.perst.Link
Return array with relation members.
toString() - Method in interface org.garret.perst.CustomSerializable
Get string representation of object.
toString() - Method in class org.garret.perst.PersistentString
Get Java string
toString() - Method in class org.garret.perst.Rectangle
 
toString() - Method in class org.garret.perst.RectangleR2
 
totalSize - Variable in class org.garret.perst.MemoryUsage
Total size of all reachable instances
TRUNCATE_LAST_SEGMENT - Static variable in interface org.garret.perst.Blob
 
tryLock(boolean) - Method in class org.garret.perst.CompressedFile
 
tryLock(boolean) - Method in class org.garret.perst.CompressedReadWriteFile
 
tryLock(boolean) - Method in interface org.garret.perst.IFile
Try lock file
tryLock(boolean) - Method in class org.garret.perst.MappedFile
 
tryLock(boolean) - Method in class org.garret.perst.NullFile
 
type - Variable in class org.garret.perst.Key
 

U

unlink() - Method in class org.garret.perst.L2ListElem
Remove element from the list
unlock() - Method in class org.garret.perst.CompressedFile
 
unlock() - Method in class org.garret.perst.CompressedReadWriteFile
 
unlock() - Method in interface org.garret.perst.IFile
Unlock file
unlock() - Method in interface org.garret.perst.IResource
Remove granted lock.
unlock() - Method in class org.garret.perst.MappedFile
 
unlock() - Method in class org.garret.perst.NullFile
 
unlock() - Method in class org.garret.perst.PersistentResource
 
unpack(InputStream) - Method in interface org.garret.perst.CustomSerializer
Deserialize object
unpin() - Method in interface org.garret.perst.Link
Replace all direct references to linked objects with stubs.
UNSUPPORTED_ENCODING - Static variable in exception org.garret.perst.StorageError
 
UNSUPPORTED_INDEX_TYPE - Static variable in exception org.garret.perst.StorageError
 
UNSUPPORTED_TYPE - Static variable in exception org.garret.perst.StorageError
 
used - Variable in class org.garret.perst.TimeSeries.Block
 

V

Version - Class in org.garret.perst
Base class for version of versioned object.
VersionHistory<V extends Version> - Class in org.garret.perst
Collection of version of versioned object.
VersionHistory(V) - Constructor for class org.garret.perst.VersionHistory
Create new version history

W

waitForModification() - Method in interface org.garret.perst.ReplicationSlaveStorage
Wait until database is modified by master This method blocks current thread until master node commits trasanction and this transanction is completely delivered to this slave node
write(long, byte[]) - Method in class org.garret.perst.CompressedFile
 
write(long, byte[]) - Method in class org.garret.perst.CompressedReadWriteFile
 
write(long, byte[]) - Method in interface org.garret.perst.IFile
Write data to the file
write(long, byte[]) - Method in class org.garret.perst.MappedFile
 
write(long, byte[]) - Method in class org.garret.perst.NullFile
 
writeExternal(ObjectOutput) - Method in class org.garret.perst.Persistent
 

X

XMLImportException - Exception in org.garret.perst
Exception thrown during import of data from XML file in database
XMLImportException(int, int, String) - Constructor for exception org.garret.perst.XMLImportException
 

A B C D E F G H I J K L M N O P Q R S T U V W X