Uses of Interface
io.permazen.index.Index2
Package
Description
Abstraction layer allowing access to a
Database
using normal Java objects.Core classes for the Permazen Java persistence layer.
Permazen index classes.
-
Uses of Index2 in io.permazen
Modifier and TypeMethodDescription<V1,
V2, T> Index2<V1, V2, T> PermazenTransaction.queryCompositeIndex
(Class<T> targetType, String indexName, Class<V1> value1Type, Class<V2> value2Type) Access a composite index on two fields.PermazenTransaction.queryListElementIndex
(Class<T> targetType, String fieldName, Class<V> valueType) Get the composite index on a list field that includes list indices.<V,
T, K> Index2<V, T, K> PermazenTransaction.queryMapValueIndex
(Class<T> targetType, String fieldName, Class<V> valueType, Class<K> keyType) Get the composite index on a map value field that includes map keys. -
Uses of Index2 in io.permazen.core
Modifier and TypeClassDescriptionclass
CoreIndex2<V1,
V2, T> Core APIIndex2
implementation representing a composite index on two fields. -
Uses of Index2 in io.permazen.index
Modifier and TypeMethodDescriptionIndex3.asIndex2()
Get the prefix of this instance that only includes the first three indexed fields.Index4.asIndex2()
Get the prefix of this instance that only includes the first three indexed fields.Index2.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.Index2.withValue2Bounds
(Bounds<V2> bounds) ImposeBounds
that restrict the range of the second indexed value.Modifier and TypeMethodDescriptionIndex3.asMapOfIndex2()
View this index as aNavigableMap
ofIndex2
s keyed by the first value.Index4.asMapOfIndex2()
View this index as aNavigableMap
ofIndex2
s keyed by the first two values.