V1 - first indexed value typeV2 - second indexed value typeT - index target typepublic interface Index2<V1,V2,T>
Indexes are read-only and "live", always reflecting the current transaction state.
org.jsimpledb.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.
|
NavigableMap<Tuple2<V1,V2>,NavigableSet<T>> |
asMap()
View this index as a
NavigableMap of target values keyed by indexed value tuples. |
NavigableMap<V1,Index<V2,T>> |
asMapOfIndex()
View this index as a
NavigableMap of Indexs keyed by the first value. |
NavigableSet<Tuple3<V1,V2,T>> |
asSet()
View this index as a
NavigableSet of tuples. |
NavigableSet<Tuple3<V1,V2,T>> asSet()
NavigableSet of tuples.NavigableSet of tuples containing indexed values and target valueNavigableMap<Tuple2<V1,V2>,NavigableSet<T>> asMap()
NavigableMap of target values keyed by indexed value tuples.NavigableMap from indexed value tuple to the corresponding set of target objectsNavigableMap<V1,Index<V2,T>> asMapOfIndex()
NavigableMap of Indexs keyed by the first value.NavigableMap from first value to IndexCopyright © 2016. All rights reserved.