Uses of Class
io.permazen.kv.KeyRanges
Packages that use 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
Methods in io.permazen.core with parameters of type KeyRangesModifier 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
Methods in io.permazen.kv that return KeyRangesModifier and TypeMethodDescriptionKeyRanges.clone()
Clone this instance.static KeyRanges
KeyRanges.empty()
Create an empty instance containing zero ranges.static KeyRanges
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
(ByteData 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.Methods in io.permazen.kv with parameters of type KeyRangesModifier and TypeMethodDescriptionvoid
Add all the key ranges in the givenKeyRanges
to this instance.boolean
void
Remove all key ranges not also in the givenKeyRanges
from this instance.void
Remove all the key ranges in the givenKeyRanges
from this instance.Constructors in io.permazen.kv with parameters of type KeyRanges -
Uses of KeyRanges in io.permazen.kv.mvcc
Subclasses of KeyRanges in io.permazen.kv.mvccMethods in io.permazen.kv.mvcc that return KeyRangesModifier and TypeMethodDescriptionWrites.getRemoves()
Get the key ranges removals contained by this instance.Constructors in io.permazen.kv.mvcc with parameters of type KeyRanges