Package org.apache.druid.segment.data
Interface ColumnarMultiInts
-
- All Superinterfaces:
AutoCloseable
,Closeable
,HotLoopCallee
,Indexed<IndexedInts>
,Iterable<IndexedInts>
- All Known Implementing Classes:
CombineFirstTwoValuesColumnarMultiInts
,CompressedVSizeColumnarMultiIntsSupplier.CompressedVSizeColumnarMultiInts
,VSizeColumnarMultiInts
public interface ColumnarMultiInts extends Indexed<IndexedInts>, Closeable
Resource that provides random access to a packed array of short arrays of ints (IndexedInts
). Backs up multi-valuedDictionaryEncodedColumn
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IndexedInts
get(int index)
Returns the values at a given row index.IndexedInts
getUnshared(int index)
Returns the values at a given row index.-
Methods inherited from interface org.apache.druid.query.monomorphicprocessing.HotLoopCallee
inspectRuntimeShape
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
get
IndexedInts get(int index)
Returns the values at a given row index. The IndexedInts object may potentially be reused, so callers should not keep references to it.- Specified by:
get
in interfaceIndexed<IndexedInts>
-
getUnshared
IndexedInts getUnshared(int index)
Returns the values at a given row index. The IndexedInts object will not be reused. This method may be less efficient than plain "get".
-
-