Package io.permazen.kv.util
package io.permazen.kv.util
Utility classes relating to the
KVDatabase
interface.-
ClassesClassDescription
NavigableMap
support superclass for maps backed by keys and values encoded asbyte[]
arrays in aKVStore
.NavigableSet
support superclass for sets backed by elements encoded asbyte[]
array keys in aKVStore
.AForwardingKVStore
also implementingCloseableKVStore
, with some associated underlyingCloseable
resource to close whenCloseableForwardingKVStore.close()
'd.Serializes a sequence ofbyte[]
arrays, orbyte[]
key/value pairs, using a simple key prefix compression scheme.Utility class used to track key watches.ANavigableMap
view of the keys and values in aKVStore
.ANavigableSet
view of the keys in aKVStore
.Provides aKVStore
view of an underlyingConcurrentNavigableMap<ByteData, ByteData>
.PrefixKVDatabase
implementation.Provides a read-only view of an underlyingKVStore
.Utility methods for serializing and deserializing the contents of aKVStore
to/from XML.