Package io.permazen.kv.util
Utility classes relating to the
KVDatabase
interface.-
Class Summary Class Description AbstractKVIterator<E> AbstractKVNavigableMap<K,V> 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.AbstractKVNavigableSet<E> NavigableSet
support superclass for sets backed by elements encoded asbyte[]
keys in aKVStore
and whose sort order is consistent with theirbyte[]
key encoding.CloseableForwardingKVStore AForwardingKVStore
also implementingCloseableKVStore
, with some associated underlyingCloseable
resource to close whenCloseableForwardingKVStore.close()
'd.ForwardingKVStore KeyListEncoder Serializes a sequence ofbyte[]
arrays, compressing consecutive common prefixes.KeyWatchTracker Utility class used to track key watches.KVNavigableMap ANavigableMap
view of the keys and values in aKVStore
.KVNavigableSet ANavigableSet
view of the keys in aKVStore
.NavigableMapKVStore Provides aKVStore
view of an underlyingNavigableMap<byte[], byte[]>
whose keys are sorted lexicographically as unsigned bytes.PrefixKVDatabase PrefixKVDatabase
implementation.PrefixKVStore PrefixKVTransaction UnmodifiableKVStore Provides a read-only view of an underlyingKVStore
.XMLSerializer Utility methods for serializing and deserializing the contents of aKVStore
to/from XML.