V1
- first indexed value typeV2
- second indexed value typeV3
- third indexed value typeV4
- fourth indexed value typeT
- index target typepublic interface Index4<V1,V2,V3,V4,T>
Indexes are read-only and "live", always reflecting the current transaction state.
io.permazen.index
Modifier and Type | Method and Description |
---|---|
Index<V1,V2> |
asIndex()
Get the prefix of this instance that only includes the first two indexed fields.
|
Index2<V1,V2,V3> |
asIndex2()
Get the prefix of this instance that only includes the first three indexed fields.
|
Index3<V1,V2,V3,V4> |
asIndex3()
Get the prefix of this instance that only includes the first four indexed fields.
|
NavigableMap<Tuple4<V1,V2,V3,V4>,NavigableSet<T>> |
asMap()
View this index as a
NavigableMap of target values keyed by indexed value tuples. |
NavigableMap<Tuple3<V1,V2,V3>,Index<V4,T>> |
asMapOfIndex()
View this index as a
NavigableMap of Index s keyed by the first three values. |
NavigableMap<Tuple2<V1,V2>,Index2<V3,V4,T>> |
asMapOfIndex2()
View this index as a
NavigableMap of Index2 s keyed by the first two values. |
NavigableMap<V1,Index3<V2,V3,V4,T>> |
asMapOfIndex3()
View this index as a
NavigableMap of Index3 s keyed by the first value. |
NavigableSet<Tuple5<V1,V2,V3,V4,T>> |
asSet()
View this index as a
NavigableSet of tuples. |
Index4<V1,V2,V3,V4,T> |
withTargetBounds(Bounds<T> bounds)
Impose
Bounds that restrict the range of the target value. |
Index4<V1,V2,V3,V4,T> |
withValue1Bounds(Bounds<V1> bounds)
Impose
Bounds that restrict the range of the first indexed value. |
Index4<V1,V2,V3,V4,T> |
withValue2Bounds(Bounds<V2> bounds)
Impose
Bounds that restrict the range of the second indexed value. |
Index4<V1,V2,V3,V4,T> |
withValue3Bounds(Bounds<V3> bounds)
Impose
Bounds that restrict the range of the third indexed value. |
Index4<V1,V2,V3,V4,T> |
withValue4Bounds(Bounds<V4> bounds)
Impose
Bounds that restrict the range of the fourth indexed value. |
NavigableSet<Tuple5<V1,V2,V3,V4,T>> asSet()
NavigableSet
of tuples.NavigableSet
of tuples containing indexed values and target valueNavigableMap<Tuple4<V1,V2,V3,V4>,NavigableSet<T>> asMap()
NavigableMap
of target values keyed by indexed value tuples.NavigableMap
from indexed value tuple to the corresponding set of target objectsNavigableMap<Tuple3<V1,V2,V3>,Index<V4,T>> asMapOfIndex()
NavigableMap
of Index
s keyed by the first three values.NavigableMap
from first three values to Index
NavigableMap<Tuple2<V1,V2>,Index2<V3,V4,T>> asMapOfIndex2()
NavigableMap
of Index2
s keyed by the first two values.NavigableMap
from first two values to Index2
NavigableMap<V1,Index3<V2,V3,V4,T>> asMapOfIndex3()
NavigableMap
of Index3
s keyed by the first value.NavigableMap
from first value to Index3
Index3<V1,V2,V3,V4> asIndex3()
Index2<V1,V2,V3> asIndex2()
Index<V1,V2> asIndex()
Index4<V1,V2,V3,V4,T> withValue1Bounds(Bounds<V1> bounds)
Bounds
that restrict the range of the first indexed value.bounds
- bounds to impose on the first indexed valuebounds
are visibleIndex4<V1,V2,V3,V4,T> withValue2Bounds(Bounds<V2> bounds)
Bounds
that restrict the range of the second indexed value.bounds
- bounds to impose on the second indexed valuebounds
are visibleIndex4<V1,V2,V3,V4,T> withValue3Bounds(Bounds<V3> bounds)
Bounds
that restrict the range of the third indexed value.bounds
- bounds to impose on the third indexed valuebounds
are visibleIndex4<V1,V2,V3,V4,T> withValue4Bounds(Bounds<V4> bounds)
Bounds
that restrict the range of the fourth indexed value.bounds
- bounds to impose on the fourth indexed valuebounds
are visibleCopyright © 2022. All rights reserved.