Interface IncrementalIndex.FactsHolder
-
- Enclosing class:
- IncrementalIndex
public static interface IncrementalIndex.FactsHolder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()longgetMaxTimeMillis()longgetMinTimeMillis()intgetPriorIndex(IncrementalIndexRow key)Iterator<IncrementalIndexRow>iterator(boolean descending)Iterable<IncrementalIndexRow>keySet()Iterable<IncrementalIndexRow>persistIterable()Get allIncrementalIndexRowto persist, ordered withComparatorintputIfAbsent(IncrementalIndexRow key, int rowIndex)Iterable<IncrementalIndexRow>timeRangeIterable(boolean descending, long timeStart, long timeEnd)
-
-
-
Method Detail
-
getPriorIndex
int getPriorIndex(IncrementalIndexRow key)
- Returns:
- the previous rowIndex associated with the specified key, or
IncrementalIndexRow.EMPTY_ROW_INDEXif there was no mapping for the key.
-
getMinTimeMillis
long getMinTimeMillis()
-
getMaxTimeMillis
long getMaxTimeMillis()
-
iterator
Iterator<IncrementalIndexRow> iterator(boolean descending)
-
timeRangeIterable
Iterable<IncrementalIndexRow> timeRangeIterable(boolean descending, long timeStart, long timeEnd)
-
keySet
Iterable<IncrementalIndexRow> keySet()
-
persistIterable
Iterable<IncrementalIndexRow> persistIterable()
Get allIncrementalIndexRowto persist, ordered withComparator- Returns:
-
putIfAbsent
int putIfAbsent(IncrementalIndexRow key, int rowIndex)
- Returns:
- the previous rowIndex associated with the specified key, or
IncrementalIndexRow.EMPTY_ROW_INDEXif there was no mapping for the key.
-
clear
void clear()
-
-