V1
- first index value typeV2
- second index value typeV3
- third index value typeV4
- fourth index value typeT
- index target typepublic class CoreIndex4<V1,V2,V3,V4,T> extends Object implements Index4<V1,V2,V3,V4,T>
Index4
implementation representing a composite index on four fields.
Instances are immutable.
Modifier and Type | Method and Description |
---|---|
CoreIndex<V1,V2> |
asIndex()
Get the prefix of this instance that only includes the first two indexed fields.
|
CoreIndex2<V1,V2,V3> |
asIndex2()
Get the prefix of this instance that only includes the first three indexed fields.
|
CoreIndex3<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. |
CoreIndex4<V1,V2,V3,V4,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. |
CoreIndex4<V1,V2,V3,V4,T> |
withTargetBounds(Bounds<T> bounds)
Impose
Bounds that restrict the range of the target value. |
CoreIndex4<V1,V2,V3,V4,T> |
withValue1Bounds(Bounds<V1> bounds)
Impose
Bounds that restrict the range of the first indexed value. |
CoreIndex4<V1,V2,V3,V4,T> |
withValue2Bounds(Bounds<V2> bounds)
Impose
Bounds that restrict the range of the second indexed value. |
CoreIndex4<V1,V2,V3,V4,T> |
withValue3Bounds(Bounds<V3> bounds)
Impose
Bounds that restrict the range of the third indexed value. |
CoreIndex4<V1,V2,V3,V4,T> |
withValue4Bounds(Bounds<V4> bounds)
Impose
Bounds that restrict the range of the fourth indexed value. |
public CoreIndex4<V1,V2,V3,V4,T> filter(int index, KeyFilter filter)
index
- zero-based object type field offsetfilter
- key filtering to applypublic NavigableSet<Tuple5<V1,V2,V3,V4,T>> asSet()
Index4
NavigableSet
of tuples.public NavigableMap<Tuple4<V1,V2,V3,V4>,NavigableSet<T>> asMap()
Index4
NavigableMap
of target values keyed by indexed value tuples.public NavigableMap<Tuple3<V1,V2,V3>,Index<V4,T>> asMapOfIndex()
Index4
NavigableMap
of Index
s keyed by the first three values.asMapOfIndex
in interface Index4<V1,V2,V3,V4,T>
NavigableMap
from first three values to Index
public NavigableMap<Tuple2<V1,V2>,Index2<V3,V4,T>> asMapOfIndex2()
Index4
NavigableMap
of Index2
s keyed by the first two values.asMapOfIndex2
in interface Index4<V1,V2,V3,V4,T>
NavigableMap
from first two values to Index2
public NavigableMap<V1,Index3<V2,V3,V4,T>> asMapOfIndex3()
Index4
NavigableMap
of Index3
s keyed by the first value.asMapOfIndex3
in interface Index4<V1,V2,V3,V4,T>
NavigableMap
from first value to Index3
public CoreIndex3<V1,V2,V3,V4> asIndex3()
Index4
public CoreIndex2<V1,V2,V3> asIndex2()
Index4
public CoreIndex<V1,V2> asIndex()
Index4
public CoreIndex4<V1,V2,V3,V4,T> withValue1Bounds(Bounds<V1> bounds)
Index4
Bounds
that restrict the range of the first indexed value.public CoreIndex4<V1,V2,V3,V4,T> withValue2Bounds(Bounds<V2> bounds)
Index4
Bounds
that restrict the range of the second indexed value.public CoreIndex4<V1,V2,V3,V4,T> withValue3Bounds(Bounds<V3> bounds)
Index4
Bounds
that restrict the range of the third indexed value.public CoreIndex4<V1,V2,V3,V4,T> withValue4Bounds(Bounds<V4> bounds)
Index4
Bounds
that restrict the range of the fourth indexed value.public CoreIndex4<V1,V2,V3,V4,T> withTargetBounds(Bounds<T> bounds)
Index4
Bounds
that restrict the range of the target value.Copyright © 2022. All rights reserved.