Class IncrementalIndexCursorHolder
java.lang.Object
org.apache.druid.segment.incremental.IncrementalIndexCursorHolder
- All Implemented Interfaces:
Closeable,AutoCloseable,CursorHolder
-
Constructor Summary
ConstructorsConstructorDescriptionIncrementalIndexCursorHolder(IncrementalIndexRowSelector rowSelector, CursorBuildSpec spec) -
Method Summary
Modifier and TypeMethodDescriptionasCursor()Create aCursorfor use with non-vectorized query engines.Returns cursor ordering, which may or may not matchCursorBuildSpec.getPreferredOrdering().makeSelectorFactory(CursorBuildSpec buildSpec, IncrementalIndexRowHolder currEntry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.CursorHolder
asVectorCursor, canVectorize, close, getAggregatorsForPreAggregated, getTimeOrder, isPreAggregated
-
Constructor Details
-
IncrementalIndexCursorHolder
-
-
Method Details
-
asCursor
Description copied from interface:CursorHolderCreate aCursorfor use with non-vectorized query engines.- Specified by:
asCursorin interfaceCursorHolder
-
getOrdering
Description copied from interface:CursorHolderReturns cursor ordering, which may or may not matchCursorBuildSpec.getPreferredOrdering(). If returns an empty list then the cursor has no defined ordering.Cursors associated with this holder return rows in this ordering, using the natural comparator for the column type. Includes
ColumnHolder.TIME_COLUMN_NAMEif appropriate.- Specified by:
getOrderingin interfaceCursorHolder
-
makeSelectorFactory
public ColumnSelectorFactory makeSelectorFactory(CursorBuildSpec buildSpec, IncrementalIndexRowHolder currEntry)
-