Uses of Interface
io.permazen.kv.KVStore
Packages that use KVStore
Package
Description
Abstraction layer allowing access to a
Database using normal Java objects.Core classes for the Permazen Java persistence layer.
Classes associated with
Jsck, the Permazen key/value database consistency checker.byte[] array key/value store API and related utility classes.A simple
KVStore implementation based on a sorted array of key/value pairs.KVDatabase implementation based on Oracle's Berkeley DB Java Edition.Caching
KVStore and KVDatabase layers.KVDatabase implementation based on FoundationDB.KVDatabase implementation based on LevelDB.KVDatabase implementation based on LMDB.Utility classes for MVCC type operations using a
KVStore.AtomicKVStore and KVDatabase implementations based
on H2 MVStore.A distributed
KVDatabase based on the Raft consensus algorithm.A partition-tolerant
KVDatabase that automatically migrates between a clustered
RaftKVDatabase and a private non-clustered "standalone mode"
KVDatabase, based on availability of the Raft cluster.A simple in-memory implementation of the
KVDatabase interface.KVDatabase implementation based on Google Cloud Spanner.KVDatabase implementations based on SQL connections.Permazen key/value unit test support classes.
Utility classes relating to the
KVDatabase interface.KVDatabase implementation based on Xodus.Spring Framework integration classes.
-
Uses of KVStore in io.permazen
Methods in io.permazen with parameters of type KVStoreModifier and TypeMethodDescriptionPermazen.createDetachedTransaction(KVStore kvstore, ValidationMode validationMode) Create a newDetachedPermazenTransactionbased on the provided key/value store. -
Uses of KVStore in io.permazen.core
Methods in io.permazen.core that return KVStoreModifier and TypeMethodDescriptionDetachedTransaction.getKVStore()Get the underlyingKVStorethat holds this detached transaction's state.Methods in io.permazen.core with parameters of type KVStoreModifier and TypeMethodDescriptionstatic voidLayout.copyMetaData(KVStore src, KVStore dst) Copy non-object meta-data from oneKVStoreto another.Database.createDetachedTransaction(KVStore kvstore, TransactionConfig txConfig) Create a detached transaction based on the provided key/value store.static voidLayout.deleteObjectData(KVStore kv) Delete all object and index data from the givenKVStore.static CoreIndex1<Integer,ObjId> Layout.getSchemaIndex(KVStore kv) Get aCoreIndex1view of the object schema index in a key/value database.static SchemaBundle.EncodedRead encodedSchemaBundledata from the given key/value store.voidRewrite the schema and storage ID tables in the given key/value store with the contents of this instance. -
Uses of KVStore in io.permazen.jsck
Methods in io.permazen.jsck with parameters of type KVStore -
Uses of KVStore in io.permazen.kv
Subinterfaces of KVStore in io.permazen.kvModifier and TypeInterfaceDescriptioninterfaceImplemented byKVStores that must beCloseableKVStore.close()ed when no longer in use.interfaceKVDatabasetransaction API.Classes in io.permazen.kv that implement KVStoreMethods in io.permazen.kv that return KVStoreModifier and TypeMethodDescriptionKVPairIterator.getKVStore()Get theKVStoreassociated with this instance.Constructors in io.permazen.kv with parameters of type KVStoreModifierConstructorDescriptionKVPairIterator(KVStore kv, KeyRange keyRange) Convenience constructor for forward iteration over a specified range.KVPairIterator(KVStore kv, KeyRange keyRange, KeyFilter keyFilter, boolean reverse) Primary constructor.KVPairIterator(KVStore kv, ByteData prefix) Convenience constructor for forward iteration over all keys having a given prefix.KVPairIterator(KVStore kv, ByteData prefix, boolean reverse) Convenience constructor for iteration over all keys having a given prefix. -
Uses of KVStore in io.permazen.kv.array
Classes in io.permazen.kv.array that implement KVStoreModifier and TypeClassDescriptionclassA simple read-onlyKVStorebased on a sorted array of key/value pairs.classArrayKVDatabasetransaction.classAtomicKVStorebased onArrayKVStoreplus a write-ahead log and background compaction.Methods in io.permazen.kv.array with parameters of type KVStoreModifier and TypeMethodDescriptionvoidArrayKVWriter.writeMerged(KVStore kvstore, Iterator<KVPair> kvIterator, Mutations mutations) Merge the given key/value pair iteration with the specified mutations and write out the merged combination. -
Uses of KVStore in io.permazen.kv.bdb
Classes in io.permazen.kv.bdb that implement KVStoreModifier and TypeClassDescriptionclassOracle Berkeley DB Java EditionKVTransactionimplementation. -
Uses of KVStore in io.permazen.kv.caching
Classes in io.permazen.kv.caching that implement KVStoreModifier and TypeClassDescriptionclassA caching layer for read-onlyKVStore's that have high latency for individual reads but low latency for consecutive key/value pairs in aKVStore.getRange()range read.classA transaction associated with aCachingKVDatabase.Constructors in io.permazen.kv.caching with parameters of type KVStoreModifierConstructorDescriptionCachingKVStore(KVStore kvstore, ExecutorService executor, long rttEstimate) Constructor. -
Uses of KVStore in io.permazen.kv.fdb
Classes in io.permazen.kv.fdb that implement KVStoreModifier and TypeClassDescriptionclassAKVStoreview of a FoundationDBTransaction.classFoundationDB transaction. -
Uses of KVStore in io.permazen.kv.leveldb
Classes in io.permazen.kv.leveldb that implement KVStoreModifier and TypeClassDescriptionclassAnAtomicKVStoreview of a LevelDB database.classStraightforwardKVStoreview of a LevelDB database.classLevelDBKVDatabasetransaction.classRead-onlyKVStoreview of a LevelDBSnapshot. -
Uses of KVStore in io.permazen.kv.lmdb
Classes in io.permazen.kv.lmdb that implement KVStoreModifier and TypeClassDescriptionclassKVStoreview of a LMDB transaction usingbyte[]array buffers.classLMDBKVTransactionusingbyte[]arrays buffers.classLMDBKVStore<T>StraightforwardKVStoreview of a LMDB transaction.classLMDB transaction viewed as aKVTransaction.Methods in io.permazen.kv.lmdb that return KVStore -
Uses of KVStore in io.permazen.kv.mvcc
Subinterfaces of KVStore in io.permazen.kv.mvccModifier and TypeInterfaceDescriptioninterfaceExtension of theKVStoreinterface for implementations that support atomic, batched reads and writes.interfacePresents a mutable view of an underlying read-onlyKVStoreand records the mutations in memory.Classes in io.permazen.kv.mvcc that implement KVStoreModifier and TypeClassDescriptionclassWrapper class that presents anAtomicKVStoreview of aKVDatabase, using individual transactions for each operation.classAKVTransactionthat is based on a snapshot from an originalKVTransactionand that can, at some arbitrary later time, be merged back into a newKVTransactionfrom the same database, assuming no conflicting changes have occurred in the meantime.classProvides anAtomicKVStoreview of an underlyingConcurrentNavigableMap<ByteData, ByteData>.classStraightforward implementation of theDeltaKVStoreinterface.classSnapshotKVDatabasetransaction.Methods in io.permazen.kv.mvcc that return KVStoreModifier and TypeMethodDescriptionprotected KVStoreSnapshotKVTransaction.delegate()Get the underlyingKVStore.DeltaKVStore.getBaseKVStore()Get theKVStorethat underlies this instance.MutableView.getBaseKVStore()Methods in io.permazen.kv.mvcc with parameters of type KVStoreModifier and TypeMethodDescriptionstatic voidDeprecated.voidApply all mutations contained in this instance to the givenKVStore.voidMutableView.setKVStore(KVStore kv) Swap out the underlyingKVStoreassociated with this instance.Constructors in io.permazen.kv.mvcc with parameters of type KVStoreModifierConstructorDescriptionMutableView(KVStore kv) Constructor.MutableView(KVStore kv, boolean trackReads) Constructor with optional read tracking.MutableView(KVStore kv, Reads reads, Writes writes) MutableView(KVStore kv, Writes writes) Constructor with no read tracking and caller-providedWrites. -
Uses of KVStore in io.permazen.kv.mvstore
Classes in io.permazen.kv.mvstore that implement KVStoreModifier and TypeClassDescriptionclassStraightforwardKVStoreview of anMVMap.classA read-only snapshot anMVMap.classclassMVStoreKVDatabasetransaction. -
Uses of KVStore in io.permazen.kv.raft
Classes in io.permazen.kv.raft that implement KVStore -
Uses of KVStore in io.permazen.kv.raft.fallback
Classes in io.permazen.kv.raft.fallback that implement KVStoreMethods in io.permazen.kv.raft.fallback that return KVStore -
Uses of KVStore in io.permazen.kv.simple
Classes in io.permazen.kv.simple that implement KVStoreModifier and TypeClassDescriptionclassKVTransactionimplementation forSimpleKVDatabase.classTransaction associated with aXMLKVDatabase. -
Uses of KVStore in io.permazen.kv.spanner
Classes in io.permazen.kv.spanner that implement KVStoreModifier and TypeClassDescriptionclassProvides a (read-only)KVStoreview of aReadContext.classProvides a mutableKVStoreview of aReadContext.classSpannerKVDatabasetransaction.Methods in io.permazen.kv.spanner that return KVStore -
Uses of KVStore in io.permazen.kv.sql
Classes in io.permazen.kv.sql that implement KVStoreMethods in io.permazen.kv.sql that return KVStore -
Uses of KVStore in io.permazen.kv.test
Methods in io.permazen.kv.test with parameters of type KVStoreModifier and TypeMethodDescriptionvoidKVDatabaseTest.RandomTask.performRandomAccess(KVStore tx) voidKVDatabaseTest.RandomTask.runRandomAccess(KVStore tx) protected RuntimeExceptionDump KV contents to the log.protected RuntimeExceptionDump KV portion to the log.protected StringKVTestSupport.toXmlString(KVStore kv) protected StringKVTestSupport.toXmlString(KVStore kv, ByteData minKey, ByteData maxKey) -
Uses of KVStore in io.permazen.kv.util
Classes in io.permazen.kv.util that implement KVStoreModifier and TypeClassDescriptionclassAForwardingKVStorealso implementingCloseableKVStore, with some associated underlyingCloseableresource to close whenCloseableForwardingKVStore.close()'d.classclassProvides aKVStoreview of an underlyingConcurrentNavigableMap<ByteData, ByteData>.classclassclassProvides a read-only view of an underlyingKVStore.Fields in io.permazen.kv.util declared as KVStoreModifier and TypeFieldDescriptionprotected final KVStoreAbstractKVIterator.kvThe underlyingKVStore.protected final KVStoreAbstractKVNavigableMap.kvThe underlyingKVStore.protected final KVStoreAbstractKVNavigableSet.kvThe underlyingKVStore.Methods in io.permazen.kv.util that return KVStoreModifier and TypeMethodDescriptionprotected KVStoreCloseableForwardingKVStore.delegate()protected abstract KVStoreForwardingKVStore.delegate()Get the underlyingKVStore.protected KVStoreUnmodifiableKVStore.delegate()Methods in io.permazen.kv.util with parameters of type KVStoreModifier and TypeMethodDescriptionstatic PrefixKVStoreCreate aPrefixKVStoreinstance using the specified prefix and underlyingKVStore.Constructors in io.permazen.kv.util with parameters of type KVStoreModifierConstructorDescriptionprotectedAbstractKVIterator(KVStore kv, boolean prefixMode, boolean reversed) Convenience constructor for when there are no range restrictions.protectedAbstractKVIterator(KVStore kv, boolean prefixMode, boolean reversed, KeyRange keyRange, KeyFilter keyFilter) Primary constructor.protectedAbstractKVIterator(KVStore kv, boolean prefixMode, boolean reversed, ByteData prefix) Convenience constructor for when the range of visibleKVStorekeys is all keys sharing a givenbyte[]prefix.protectedAbstractKVNavigableMap(KVStore kv, boolean prefixMode) Convenience constructor for when there are no range restrictions.protectedAbstractKVNavigableMap(KVStore kv, boolean prefixMode, boolean reversed, KeyRange keyRange, KeyFilter keyFilter, Bounds<K> bounds) Internal constructor.protectedAbstractKVNavigableMap(KVStore kv, boolean prefixMode, KeyRange keyRange) Primary constructor.protectedAbstractKVNavigableMap(KVStore kv, boolean prefixMode, ByteData prefix) Convenience constructor for when the range of visibleKVStorekeys is all keys sharing a givenbyte[]prefix.protectedAbstractKVNavigableSet(KVStore kv, boolean prefixMode) Convenience constructor for when there are no range restrictions.protectedAbstractKVNavigableSet(KVStore kv, boolean prefixMode, boolean reversed, KeyRange keyRange, KeyFilter keyFilter, Bounds<E> bounds) Internal constructor.protectedAbstractKVNavigableSet(KVStore kv, boolean prefixMode, KeyRange keyRange) Primary constructor.protectedAbstractKVNavigableSet(KVStore kv, boolean prefixMode, ByteData prefix) Convenience constructor for when the range of visibleKVStorekeys is all keys sharing a given prefix.CloseableForwardingKVStore(KVStore kvstore, Runnable closeAction) Constructor.Constructor for when there are no range restrictions.protectedKVNavigableMap(KVStore kv, boolean reversed, KeyRange keyRange, KeyFilter keyFilter) Primary constructor.KVNavigableMap(KVStore kv, ByteData prefix) Constructor for when the range of visibleKVStorekeys is all keys sharing a givenbyte[]prefix.Constructor for when there are no range restrictions.protectedKVNavigableSet(KVStore kv, boolean reversed, KeyRange keyRange, KeyFilter keyFilter) Primary constructor.KVNavigableSet(KVStore kv, ByteData prefix) Constructor for when the range of visibleKVStorekeys is all keys sharing a givenbyte[]prefix.UnmodifiableKVStore(KVStore kvstore) Constructor.XMLSerializer(KVStore kv) Constructor. -
Uses of KVStore in io.permazen.kv.xodus
Classes in io.permazen.kv.xodus that implement KVStoreMethods in io.permazen.kv.xodus that return KVStore -
Uses of KVStore in io.permazen.spring
Methods in io.permazen.spring that return KVStoreModifier and TypeMethodDescriptionprotected KVStoreKVStoreHttpMessageConverter.readInternal(Class<? extends KVStore> clazz, HttpInputMessage input) Methods in io.permazen.spring with parameters of type KVStoreModifier and TypeMethodDescriptionprotected LongKVStoreHttpMessageConverter.getContentLength(KVStore kvstore, MediaType mediaType) static LongKVStoreHttpMessageConverter.getKVStoreContentLength(KVStore kvstore) Determine the content length of the given key/value store when encoded as payload.static voidKVStoreHttpMessageConverter.readKVStore(KVStore kvstore, HttpInputMessage input) Decode a key/value store HTTP payload.protected voidKVStoreHttpMessageConverter.writeInternal(KVStore kvstore, HttpOutputMessage output) static voidKVStoreHttpMessageConverter.writeKVStore(KVStore kvstore, HttpOutputMessage output) Encode a key/value store HTTP payload.Method parameters in io.permazen.spring with type arguments of type KVStoreModifier and TypeMethodDescriptionprotected KVStoreKVStoreHttpMessageConverter.readInternal(Class<? extends KVStore> clazz, HttpInputMessage input)
apply(io.permazen.kv.mvcc.Mutations)instead