Uses of Interface
io.permazen.index.Index2
Packages that use 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
Methods in io.permazen that return Index2Modifier 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
Classes in io.permazen.core that implement Index2Modifier and TypeClassDescriptionclassCoreIndex2<V1,V2, T> Core APIIndex2implementation representing a composite index on two fields.Methods in io.permazen.core that return types with arguments of type Index2 -
Uses of Index2 in io.permazen.index
Methods in io.permazen.index that return Index2Modifier 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) ImposeBoundsthat restrict the range of the target value.Index2.withValue1Bounds(Bounds<V1> bounds) ImposeBoundsthat restrict the range of the first indexed value.Index2.withValue2Bounds(Bounds<V2> bounds) ImposeBoundsthat restrict the range of the second indexed value.Methods in io.permazen.index that return types with arguments of type Index2Modifier and TypeMethodDescriptionIndex3.asMapOfIndex2()View this index as aNavigableMapofIndex2s keyed by the first value.Index4.asMapOfIndex2()View this index as aNavigableMapofIndex2s keyed by the first two values.