Uses of Class
io.permazen.kv.KeyRanges
Package
Description
Core classes for the Permazen Java persistence layer.
byte[]
array key/value store API and related utility classes.Utility classes for MVCC type operations using a
KVStore
.-
Uses of KeyRanges in io.permazen.core
Modifier and TypeMethodDescriptionvoid
Transaction.addDeleteListener
(int[] path, KeyRanges[] filters, DeleteListener listener) Add aDeleteListener
to this transaction.void
Transaction.addFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, Object listener) Monitor for changes within this transaction to the specifiedField
as seen through a path of references.void
Transaction.addListFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, ListFieldChangeListener listener) Monitor for changes within this transaction to the specifiedListField
as seen through a path of references.void
Transaction.addMapFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, MapFieldChangeListener listener) Monitor for changes within this transaction to the specifiedMapField
as seen through a path of references.void
Transaction.addSetFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, SetFieldChangeListener listener) Monitor for changes within this transaction to the specifiedSetField
as seen through a path of references.void
Transaction.addSimpleFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, SimpleFieldChangeListener listener) Monitor for changes within this transaction of the value of the given field, as seen through a path of references.Transaction.followReferencePath
(Stream<? extends ObjId> startObjects, int[] path, KeyRanges[] filters) Find all objects referred to by any object in the given start set through the specified path of references.Transaction.invertReferencePath
(int[] path, KeyRanges[] filters, Stream<? extends ObjId> targetObjects) Find all objects that refer to any object in the given target set through the specified path of references.void
Transaction.removeDeleteListener
(int[] path, KeyRanges[] filters, DeleteListener listener) Remove aDeleteListener
from this transaction.void
Transaction.removeFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, Object listener) Remove a field monitor previously added viaaddSimpleFieldChangeListener()
,addSetFieldChangeListener()
,addListFieldChangeListener()
,addMapFieldChangeListener()
, oraddFieldChangeListener()
.void
Transaction.removeListFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, ListFieldChangeListener listener) Remove a field monitor previously added viaaddListFieldChangeListener()
(oraddFieldChangeListener()
).void
Transaction.removeMapFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, MapFieldChangeListener listener) Remove a field monitor previously added viaaddMapFieldChangeListener()
(oraddFieldChangeListener()
).void
Transaction.removeSetFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, SetFieldChangeListener listener) Remove a field monitor previously added viaaddSetFieldChangeListener()
(oraddFieldChangeListener()
).void
Transaction.removeSimpleFieldChangeListener
(int storageId, int[] path, KeyRanges[] filters, SimpleFieldChangeListener listener) Remove a field monitor previously added viaaddSimpleFieldChangeListener()
(oraddFieldChangeListener()
). -
Uses of KeyRanges in io.permazen.kv
Modifier and TypeMethodDescriptionKeyRanges.clone()
Clone this instance.static KeyRanges
KeyRanges.empty()
Create an empty instance containing zero ranges.static KeyRanges
KeyRanges.forPrefix
(byte[] prefix) Construct an instance containing a single range corresponding to all keys with the given prefix.static KeyRanges
KeyRanges.full()
Create a "full" instance containing a singleKeyRange
that contains all keys.KeyRanges.inverse()
Create the inverse of this instance.KeyRanges.prefixedBy
(byte[] prefix) Create a new instance from this one, with eachKeyRange
prefixed by the given byte sequence.KeyRanges.readOnlySnapshot()
Return an immutable snapshot of this instance. -
Uses of KeyRanges in io.permazen.kv.mvcc
Modifier and TypeMethodDescriptionWrites.getRemoves()
Get the key ranges removals contained by this instance.