Uses of Class
io.permazen.kv.KVPair
Package
Description
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 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.-
Uses of KVPair in io.permazen.jsck
ModifierConstructorDescriptionInvalidKey
(KVPair pair) InvalidValue
(KVPair pair) InvalidValue
(KVPair pair, byte[] newValue) -
Uses of KVPair in io.permazen.kv
Modifier and TypeMethodDescriptionKVPair.clone()
Deep-clone this instance.AbstractKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) KVStore.getAtLeast
(byte[] minKey, byte[] maxKey) Get the key/value pair having the smallest key greater than or equal to the given minimum, if any.AbstractKVStore.getAtMost
(byte[] maxKey, byte[] minKey) KVStore.getAtMost
(byte[] maxKey, byte[] minKey) Get the key/value pair having the largest key strictly less than the given maximum, if any.KVPairIterator.next()
Modifier and TypeMethodDescriptiondefault CloseableIterator<KVPair>
KVStore.getRange
(byte[] minKey, byte[] maxKey) Iterate the key/value pairs in the specified range in the forward direction.KVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) Iterate the key/value pairs in the specified range.default CloseableIterator<KVPair>
Iterate the key/value pairs in the specified range in the forward direction. -
Uses of KVPair in io.permazen.kv.array
Modifier and TypeMethodDescriptionArrayKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) AtomicArrayKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) ArrayKVStore.getAtMost
(byte[] maxKey, byte[] minKey) AtomicArrayKVStore.getAtMost
(byte[] maxKey, byte[] minKey) Modifier and TypeMethodDescriptionArrayKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) AtomicArrayKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) Modifier and TypeMethodDescriptionvoid
ArrayKVWriter.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 KVPair in io.permazen.kv.bdb
-
Uses of KVPair in io.permazen.kv.caching
Modifier and TypeMethodDescriptionCachingKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) CachingKVTransaction.getAtLeast
(byte[] minKey, byte[] maxKey) CachingKVStore.getAtMost
(byte[] maxKey, byte[] minKey) CachingKVTransaction.getAtMost
(byte[] maxKey, byte[] minKey) -
Uses of KVPair in io.permazen.kv.fdb
Modifier and TypeMethodDescriptionFoundationKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) FoundationKVTransaction.getAtLeast
(byte[] minKey, byte[] maxKey) FoundationKVStore.getAtMost
(byte[] maxKey, byte[] minKey) FoundationKVTransaction.getAtMost
(byte[] maxKey, byte[] minKey) -
Uses of KVPair in io.permazen.kv.leveldb
Modifier and TypeMethodDescriptionLevelDBKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) -
Uses of KVPair in io.permazen.kv.lmdb
Modifier and TypeMethodDescriptionLMDBKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) -
Uses of KVPair in io.permazen.kv.mvcc
Modifier and TypeMethodDescriptionAtomicKVDatabase.getAtLeast
(byte[] minKey, byte[] maxKey) BranchedKVTransaction.getAtLeast
(byte[] minKey, byte[] maxKey) MemoryAtomicKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) AtomicKVDatabase.getAtMost
(byte[] maxKey, byte[] minKey) BranchedKVTransaction.getAtMost
(byte[] maxKey, byte[] minKey) MemoryAtomicKVStore.getAtMost
(byte[] maxKey, byte[] minKey) -
Uses of KVPair in io.permazen.kv.mvstore
Modifier and TypeMethodDescriptionprotected KVPair
MVCursorIterator.computeNext()
MVMapKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) MVMapKVStore.getAtMost
(byte[] maxKey, byte[] minKey) CursorIterator.next()
-
Uses of KVPair in io.permazen.kv.raft
Modifier and TypeMethodDescriptionRaftKVTransaction.getAtLeast
(byte[] minKey, byte[] maxKey) RaftKVTransaction.getAtMost
(byte[] maxKey, byte[] minKey) Modifier and TypeMethodDescriptionRaftKVTransaction.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) -
Uses of KVPair in io.permazen.kv.simple
Modifier and TypeMethodDescriptionSimpleKVTransaction.getAtLeast
(byte[] min, byte[] max) SimpleKVTransaction.getAtMost
(byte[] max, byte[] min) Modifier and TypeMethodDescriptionSimpleKVTransaction.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) -
Uses of KVPair in io.permazen.kv.spanner
Modifier and TypeMethodDescriptionReadOnlySpannerView.getAtLeast
(byte[] minKey, byte[] maxKey) SpannerKVTransaction.getAtLeast
(byte[] minKey, byte[] maxKey) ReadOnlySpannerView.getAtMost
(byte[] maxKey, byte[] minKey) SpannerKVTransaction.getAtMost
(byte[] maxKey, byte[] minKey) protected static KVPair
ReadOnlySpannerView.kv
(com.google.cloud.spanner.Struct struct) -
Uses of KVPair in io.permazen.kv.sql
Modifier and TypeMethodDescriptionprotected KVPair
SQLKVTransaction.queryKVPair
(SQLKVTransaction.StmtType stmtType, byte[]... params) Modifier and TypeMethodDescriptionprotected CloseableIterator<KVPair>
SQLKVTransaction.queryIterator
(SQLKVTransaction.StmtType stmtType, byte[]... params) -
Uses of KVPair in io.permazen.kv.test
Modifier and TypeMethodDescriptionprotected String
protected void
KVDatabaseTest.testConflictingTransactions
(KVDatabase store, String name, io.permazen.kv.test.KVDatabaseTest.Conflictor conflictor, KVPair expected1, KVPair expected2) -
Uses of KVPair in io.permazen.kv.util
Modifier and TypeMethodDescriptionForwardingKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) MemoryKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) PrefixKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) ForwardingKVStore.getAtMost
(byte[] maxKey, byte[] minKey) MemoryKVStore.getAtMost
(byte[] maxKey, byte[] minKey) PrefixKVStore.getAtMost
(byte[] maxKey, byte[] minKey) Modifier and TypeMethodDescriptionForwardingKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) MemoryKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) PrefixKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse) KeyListEncoder.readPairs
(InputStream input) Decode an iteration of key/value pairs previously encoded bywritePairs()
.Modifier and TypeMethodDescriptionprotected abstract E
AbstractKVIterator.decodePair
(KVPair pair, ByteReader keyReader) Decode an iteration element from a key/value pair.protected abstract V
AbstractKVNavigableMap.decodeValue
(KVPair pair) Decode a value object from an encodedbyte[]
key/value pair.protected byte[]
KVNavigableMap.decodeValue
(KVPair pair) protected void
Remove the previously iterated value.Modifier and TypeMethodDescriptionstatic void
KeyListEncoder.writePairs
(Iterator<KVPair> kvpairs, OutputStream output) Encode an iteration of key/value pairs.static long
KeyListEncoder.writePairsLength
(Iterator<KVPair> kvpairs) Determine the number of bytes that would be written bywritePairs()
. -
Uses of KVPair in io.permazen.kv.xodus
Modifier and TypeMethodDescriptionXodusKVStore.getAtLeast
(byte[] minKey, byte[] maxKey) XodusKVStore.getAtMost
(byte[] maxKey, byte[] minKey) Modifier and TypeMethodDescriptionXodusKVStore.getRange
(byte[] minKey, byte[] maxKey, boolean reverse)