V
- indexed value typeT
- index target typepublic interface Index<V,T>
Indexes are read-only and "live", always reflecting the current transaction state.
io.permazen.index
Modifier and Type | Method and Description |
---|---|
NavigableMap<V,NavigableSet<T>> |
asMap()
View this index as a
NavigableMap of target values keyed by indexed value. |
NavigableSet<Tuple2<V,T>> |
asSet()
View this index as a
NavigableSet of tuples. |
Index<V,T> |
withTargetBounds(Bounds<T> bounds)
Impose
Bounds that restrict the range of the target value. |
Index<V,T> |
withValueBounds(Bounds<V> bounds)
Impose
Bounds that restrict the range of the indexed value. |
NavigableSet<Tuple2<V,T>> asSet()
NavigableSet
of tuples.NavigableSet
of tuples containing indexed value and target valueNavigableMap<V,NavigableSet<T>> asMap()
NavigableMap
of target values keyed by indexed value.NavigableMap
from indexed value to the corresponding set of target objectsIndex<V,T> withValueBounds(Bounds<V> bounds)
Bounds
that restrict the range of the indexed value.bounds
- bounds to impose on the indexed valuebounds
are visibleCopyright © 2022. All rights reserved.