Package io.permazen.kv
byte[]
array key/value store API and related utility classes.-
Interface Summary Interface Description CloseableKVStore Implemented byKVStore
s that must beCloseableKVStore.close()
ed when no longer in use.KeyFilter A predicate for filteringbyte[]
keys that is also capable of efficiently jumping over contiguous regions of uncontained keys.KVDatabase A transactional database with a simple key/value API.KVStore General API into a key/value store where the keys are sorted lexicographically as unsigned bytes.KVTransaction KVDatabase
transaction API. -
Class Summary Class Description AbstractKVStore Support superclass forKVStore
implementations.KeyFilterUtil Utility methods for dealing withKeyFilter
s.KeyRange Represents a contiguous range ofbyte[]
keys, when keys are sorted in unsigned lexical order.KeyRanges KVImplementation<C> Descriptor for aKVDatabase
implementation.KVPair A key/value pair.KVPairIterator AnIterator
that iterates over all key/value pairs in aKVStore
within a range of keys, without using theKVStore.getRange()
method. -
Exception Summary Exception Description KVDatabaseException Superclass of all unchecked exceptions thrown by aKVDatabase
.KVException Superclass of unchecked exceptions relating toKVStore
s, etc.KVTransactionException Thrown when an operation on aKVTransaction
fails.RetryTransactionException Exception thrown when an attempt to access aKVTransaction
results in a conflict or other condition requiring that the transaction be retried.StaleTransactionException Thrown when an operation is attempted on aKVTransaction
that is no longer usable.TransactionTimeoutException Thrown when aKVTransaction
is kept open for too long.