Package io.permazen.kv.util
package io.permazen.kv.util
Utility classes relating to the
KVDatabase
interface.-
ClassDescription
NavigableMap
support superclass for maps backed by keys and values encoded asbyte[]
arrays in aKVStore
, and whose key sort order is consistent with thebyte[]
key encoding.NavigableSet
support superclass for sets backed by elements encoded asbyte[]
keys in aKVStore
and whose sort order is consistent with theirbyte[]
key encoding.AForwardingKVStore
also implementingCloseableKVStore
, with some associated underlyingCloseable
resource to close whenCloseableForwardingKVStore.close()
'd.Serializes a sequence ofbyte[]
arrays, compressing consecutive common prefixes.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<byte[], byte[]>
whose keys are sorted lexicographically as unsigned bytes.PrefixKVDatabase
implementation.Provides a read-only view of an underlyingKVStore
.Utility methods for serializing and deserializing the contents of aKVStore
to/from XML.