Package org.cojen.tupl
package org.cojen.tupl
See
Database
to get started with TuplDB.-
ClassDescriptionAggregator<R,
T> Interface which processes groups of rows into aggregate results.Aggregator.Factory<R,T> Is used to generate a newAggregator
instance for every query against the target table.Annotation which defines an alternate set of columns that uniquely identify a row instance.Annotation which can be applied to the last column of a primary key, indicating that it should be automatically generated when not explicitly provided.Thrown when the database cache is full and no more data can be loaded into it.Thrown when a page of data from the database is detected as being corrupt because the stored checksum doesn't match what was freshly computed.Thrown when attempting to access or modify the contents of an index through a closed reference.Represents an operation which accepts a column name and value.Represents an operation which combines two values that map to the same key.Defines a callback which is notified when a pending transaction has finished.Thrown when replication cannot be confirmed.Thrown when replication confirmation was interrupted by another thread.Thrown when replication confirmation timed out.Thrown when converting the value of a row column would result in data loss.Thrown when the internal structure of thedatabase
is corrupt.Maintains a logical position in aView
.Primary database interface, containing a collection of transactional indexes.Configuration options used when opening a database.Exception thrown which indicates a database problem not due to general I/O problems.Thrown when database is full and no more data can be stored into it.Thrown when a lock request by a transaction timed out due to a deadlock, or a trivial deadlock was quickly detected.Thrown when attempting to access or modify the contents of an index which was deleted.Various transaction durability modes, which control the durability strength of committed transactions.Defines a row type consisting of a simple binary key-value pair.View transformer which filters out entries which don't belong.Grouper<R,T> Interface which processes groups of rows into other groups of rows.Grouper.Factory<R,T> Is used to generate a newGrouper
instance for every query against the target table.Annotation which hides a column from a row's generatedtoString
method.Thrown when attempting to acquire an upgradable or exclusive lock when a shared lock is already held.Thrown when opening a database which wasn't completely restored.Mapping of keys to values, ordered by key, in lexicographical order.Thrown when acting upon a broken transaction instance.Thrown when attempting to load a key which cannot fit into memory.Thrown when attempting to load a value which cannot fit into memory.Thrown when a lock request by a transaction failed.Thrown when a lock request by a transaction was interrupted by another thread.Various lock modes for use within transactions.Result code returned by transactional operations which acquire locks.Thrown when a lock request by a transaction timed out.Defines transaction lock upgrade behavior when using theREPEATABLE_READ
lock mode.Mapper<R,T> Interface for mapping source rows to target rows.Thrown when attempting to read or write against a nonexistent row which was expected to exist.Thrown when reading from an accessor stream, for a value which doesn't exist.Annotation which indicates that a column value can be null.Annotation which defines the set of columns that uniquely identify a row instance.Query<R>Represents a sharable object which performs a query against a table.Thrown when a query expression is malformed.Optional interface that rows can extend for supporting reflection-style access to columns.Scanner<R>Support for scanning through all rows in a table.Annotation which a defines secondary search index within a table.Controls remote access into a database.Control object used to capture a database snapshot.Utility for sorting and filling up new indexes.Table<R>Defines a relational collection of persistent rows.Defines a logical unit of work.Interface which supports filtering and transforming the entries within aView
.Thrown when a row store operation would create a conflicting key.Thrown when attempting to make changes to a read-only replica.Thrown when attempting to make a change to an index or view which doesn't permit modifications.Exception thrown when acting on aCursor
which doesn't have a position defined.Thrown when attempting to read a row column which doesn't have anything assigned to it.Annotation which indicates that a primitive column type be treated as an unsigned type.Annotation which indicates that an inverse mapping function doesn't transform the value.Updater<R>Support for scanning through all rows in a table, updating them along the way.Accesses database values without requiring that they be fully loaded or stored in a single operation.Mapping of keys to values, in no particular order.Thrown when attempting to perform an illegal view alteration.Thrown when writing to the underlying storage device failed.