Uses of Class
io.permazen.util.Bounds
Package
Description
Core classes for the Permazen Java persistence layer.
Permazen
Encoding
s.Permazen index classes.
Utility classes relating to the
KVDatabase
interface.General utility classes used with Permazen.
-
Uses of Bounds in io.permazen.core
Modifier and TypeMethodDescriptionCoreIndex1<V,
T> CoreIndex1.withTargetBounds
(Bounds<T> bounds) CoreIndex2<V1,
V2, T> CoreIndex2.withTargetBounds
(Bounds<T> bounds) CoreIndex3<V1,
V2, V3, T> CoreIndex3.withTargetBounds
(Bounds<T> bounds) CoreIndex4.withTargetBounds
(Bounds<T> bounds) CoreIndex2<V1,
V2, T> CoreIndex2.withValue1Bounds
(Bounds<V1> bounds) CoreIndex3<V1,
V2, V3, T> CoreIndex3.withValue1Bounds
(Bounds<V1> bounds) CoreIndex4.withValue1Bounds
(Bounds<V1> bounds) CoreIndex2<V1,
V2, T> CoreIndex2.withValue2Bounds
(Bounds<V2> bounds) CoreIndex3<V1,
V2, V3, T> CoreIndex3.withValue2Bounds
(Bounds<V2> bounds) CoreIndex4.withValue2Bounds
(Bounds<V2> bounds) CoreIndex3<V1,
V2, V3, T> CoreIndex3.withValue3Bounds
(Bounds<V3> bounds) CoreIndex4.withValue3Bounds
(Bounds<V3> bounds) CoreIndex4.withValue4Bounds
(Bounds<V4> bounds) CoreIndex1<V,
T> CoreIndex1.withValueBounds
(Bounds<V> bounds) -
Uses of Bounds in io.permazen.encoding
Modifier and TypeMethodDescriptiondefault KeyRange
Encoding.getKeyRange
(Bounds<? extends T> bounds) Calculate theKeyRange
that includes exactly those encoded values that lie within the given bounds. -
Uses of Bounds in io.permazen.index
Modifier and TypeMethodDescriptionIndex1.withTargetBounds
(Bounds<T> bounds) ImposeBounds
that restrict the range of the target value.Index2.withTargetBounds
(Bounds<T> bounds) ImposeBounds
that restrict the range of the target value.Index3.withTargetBounds
(Bounds<T> bounds) ImposeBounds
that restrict the range of the target value.Index4.withTargetBounds
(Bounds<T> bounds) ImposeBounds
that restrict the range of the target value.Index2.withValue1Bounds
(Bounds<V1> bounds) ImposeBounds
that restrict the range of the first indexed value.Index3.withValue1Bounds
(Bounds<V1> bounds) ImposeBounds
that restrict the range of the first indexed value.Index4.withValue1Bounds
(Bounds<V1> bounds) ImposeBounds
that restrict the range of the first indexed value.Index2.withValue2Bounds
(Bounds<V2> bounds) ImposeBounds
that restrict the range of the second indexed value.Index3.withValue2Bounds
(Bounds<V2> bounds) ImposeBounds
that restrict the range of the second indexed value.Index4.withValue2Bounds
(Bounds<V2> bounds) ImposeBounds
that restrict the range of the second indexed value.Index3.withValue3Bounds
(Bounds<V3> bounds) ImposeBounds
that restrict the range of the third indexed value.Index4.withValue3Bounds
(Bounds<V3> bounds) ImposeBounds
that restrict the range of the third indexed value.Index4.withValue4Bounds
(Bounds<V4> bounds) ImposeBounds
that restrict the range of the fourth indexed value.Index1.withValueBounds
(Bounds<V> bounds) ImposeBounds
that restrict the range of the indexed value. -
Uses of Bounds in io.permazen.kv.util
Modifier and TypeMethodDescriptionprotected abstract NavigableMap<K,
V> AbstractKVNavigableMap.createSubMap
(boolean newReversed, KeyRange newKeyRange, KeyFilter newKeyFilter, Bounds<K> newBounds) Create a (possibly reversed) view of this instance with (possibly) tighter lower and/or upper bounds and the givenKeyFilter
, if any.protected final NavigableMap<K,
V> AbstractKVNavigableMap.createSubMap
(boolean reverse, Bounds<K> newBounds) protected NavigableMap<byte[],
byte[]> KVNavigableMap.createSubMap
(boolean newReversed, KeyRange newKeyRange, KeyFilter newKeyFilter, Bounds<byte[]> newBounds) protected abstract NavigableSet<E>
AbstractKVNavigableSet.createSubSet
(boolean newReversed, KeyRange newKeyRange, KeyFilter newKeyFilter, Bounds<E> newBounds) Create a (possibly reversed) view of this instance with (possibly) tighter lower and/or upper bounds and the givenKeyFilter
, if any.protected final NavigableSet<E>
AbstractKVNavigableSet.createSubSet
(boolean reverse, Bounds<E> newBounds) protected NavigableSet<byte[]>
KVNavigableSet.createSubSet
(boolean newReversed, KeyRange newKeyRange, KeyFilter newKeyFilter, Bounds<byte[]> newBounds) ModifierConstructorDescriptionprotected
AbstractKVNavigableMap
(KVStore kv, boolean prefixMode, boolean reversed, KeyRange keyRange, KeyFilter keyFilter, Bounds<K> bounds) Internal constructor.protected
AbstractKVNavigableSet
(KVStore kv, boolean prefixMode, boolean reversed, KeyRange keyRange, KeyFilter keyFilter, Bounds<E> bounds) Internal constructor. -
Uses of Bounds in io.permazen.util
Modifier and TypeFieldDescriptionAbstractNavigableMap.bounds
Key range bounds associated with this instance.AbstractNavigableSet.bounds
Element range bounds associated with this instance.Modifier and TypeMethodDescriptionstatic <T> Bounds<T>
Bounds.eq
(T value) Create an instance with bounds that allow only the given value.static <T> Bounds<T>
Bounds.ge
(T lowerBound) Create an instance with an inclusive lower bound.AbstractNavigableMap.getBounds()
Get theBounds
associated with this instance.AbstractNavigableSet.getBounds()
Get theBounds
associated with this instance.static <T> Bounds<T>
Bounds.gt
(T lowerBound) Create an instance with an exclusive lower bound.static <T> Bounds<T>
Bounds.le
(T upperBound) Create an instance with an inclusive upper bound.static <T> Bounds<T>
Bounds.lt
(T upperBound) Create an instance with an exclusive upper bound.Bounds.reverse()
Create an instance like this instance but with the upper and lower bounds reversed.Bounds.withLowerBound
(T newLowerBound, BoundType newLowerBoundType) Create an instance like this instance but with a different lower bound.Bounds.withoutLowerBound()
Create an instance like this instance but with the lower bound removed.Bounds.withoutUpperBound()
Create an instance like this instance but with the upper bound removed.Bounds.withUpperBound
(T newUpperBound, BoundType newUpperBoundType) Create an instance like this instance but with a different upper bound.Modifier and TypeMethodDescriptionprotected abstract NavigableMap<K,
V> AbstractNavigableMap.createSubMap
(boolean reverse, Bounds<K> newBounds) Create a (possibly reversed) view of this instance with (possibly) tighter lower and/or upper bounds.protected NavigableMap<K,
V> ConvertedNavigableMap.createSubMap
(boolean reverse, Bounds<K> newBounds) protected ImmutableNavigableMap<K,
V> ImmutableNavigableMap.createSubMap
(boolean reverse, Bounds<K> newBounds) protected abstract NavigableSet<E>
AbstractNavigableSet.createSubSet
(boolean reverse, Bounds<E> newBounds) Create a (possibly reversed) view of this instance with (possibly) tighter lower and/or upper bounds.protected NavigableSet<E>
ConvertedNavigableSet.createSubSet
(boolean reverse, Bounds<E> newBounds) protected ImmutableNavigableSet<E>
ImmutableNavigableSet.createSubSet
(boolean reverse, Bounds<E> newBounds) boolean
Bounds.isWithinBounds
(Comparator<? super T> comparator, Bounds<? extends T> other) Determine whether the givenBounds
are within of the bounds of this instance.ModifierConstructorDescriptionprotected
AbstractNavigableMap
(Bounds<K> bounds) Primary constructor.protected
AbstractNavigableSet
(Bounds<E> bounds) Primary constructor.