Package org.apache.druid.segment.data
Interface IndexedInts
-
- All Superinterfaces:
HotLoopCallee
- All Known Subinterfaces:
ColumnarInts
- All Known Implementing Classes:
ArrayBasedIndexedInts
,CombineFirstTwoValuesColumnarInts
,CombineFirstTwoValuesIndexedInts
,RangeIndexedInts
,SingleIndexedInt
,SliceIndexedInts
,VSizeColumnarInts
,ZeroIndexedInts
public interface IndexedInts extends HotLoopCallee
Get a int an index (array or list lookup abstraction without boxing). Doesn't extendIterable
(orIntIterable
to avoid accidental for-each iteration with boxing.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
debugToString()
static IndexedInts
empty()
default void
forEach(IntConsumer action)
int
get(int index)
default void
get(int[] out, int[] indexes, int length)
default void
get(int[] out, int start, int length)
int
size()
-
Methods inherited from interface org.apache.druid.query.monomorphicprocessing.HotLoopCallee
inspectRuntimeShape
-
-
-
-
Method Detail
-
empty
static IndexedInts empty()
-
size
@CalledFromHotLoop int size()
-
get
@CalledFromHotLoop int get(int index)
-
get
default void get(int[] out, int start, int length)
-
get
default void get(int[] out, int[] indexes, int length)
-
forEach
default void forEach(IntConsumer action)
-
debugToString
default String debugToString()
-
-