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. |
CoreIndex<V,T> |
filter(int index,
KeyFilter filter)
Apply key filtering to field values at the specified index.
|
List<FieldType<?>> |
getFieldTypes()
Get all of the
FieldType s associated with this instance. |
CoreIndex<V,T> |
withTargetBounds(Bounds<T> bounds)
Impose
Bounds that restrict the range of the target value. |
CoreIndex<V,T> |
withValueBounds(Bounds<V> bounds)
Impose
Bounds that restrict the range of the indexed value. |
public CoreIndex<V,T> filter(int index, KeyFilter filter)
index
- zero-based object type field offsetfilter
- key filtering to applypublic NavigableSet<Tuple2<V,T>> asSet()
Index
NavigableSet
of tuples.asSet
in interface Index<V,T>
NavigableSet
of tuples containing indexed value and target valuepublic NavigableMap<V,NavigableSet<T>> asMap()
Index
NavigableMap
of target values keyed by indexed value.asMap
in interface Index<V,T>
NavigableMap
from indexed value to the corresponding set of target objectspublic CoreIndex<V,T> withValueBounds(Bounds<V> bounds)
Index
Bounds
that restrict the range of the indexed value.withValueBounds
in interface Index<V,T>
bounds
- bounds to impose on the indexed valuebounds
are visiblepublic CoreIndex<V,T> withTargetBounds(Bounds<T> bounds)
Index
Bounds
that restrict the range of the target value.withTargetBounds
in interface Index<V,T>
bounds
- bounds to impose on the target valuebounds
are visibleCopyright © 2022. All rights reserved.