Class ChunkedIntegerColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Integer,IntChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedIntegerColumnIterator
- All Implemented Interfaces:
CloseableIterator<Integer>
,CloseablePrimitiveIterator<Integer,
,IntConsumer> CloseablePrimitiveIteratorOfInt
,ColumnIterator<Integer>
,IntegerColumnIterator
,SafeCloseable
,AutoCloseable
,Iterator<Integer>
,PrimitiveIterator<Integer,
,IntConsumer> PrimitiveIterator.OfInt
public final class ChunkedIntegerColumnIterator
extends ChunkedColumnIterator<Integer,IntChunk<? extends Any>>
implements IntegerColumnIterator
Chunked
IntegerColumnIterator
implementation for chunk sources
of primitive ints.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
-
Field Summary
Fields inherited from class io.deephaven.engine.table.iterators.ChunkedColumnIterator
DEFAULT_CHUNK_SIZE
Fields inherited from interface io.deephaven.engine.primitive.iterator.CloseableIterator
EMPTY
Fields inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfInt
EMPTY
-
Constructor Summary
ConstructorDescriptionChunkedIntegerColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedIntegerColumnIterator.ChunkedIntegerColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedIntegerColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRemaining
(@NotNull IntConsumer action) int
nextInt()
Methods inherited from class io.deephaven.engine.table.iterators.ChunkedColumnIterator
close, hasNext, make, make, remaining
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface io.deephaven.engine.table.iterators.IntegerColumnIterator
forEachRemaining, intStream, next, stream
-
Constructor Details
-
ChunkedIntegerColumnIterator
public ChunkedIntegerColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedIntegerColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Int
rowSequence
- TheRowSequence
to iterate overchunkSize
- The buffer size to use when fetching datafirstRowKey
- The first row key fromrowSequence
to iteratelength
- The total number of rows to iterate
-
ChunkedIntegerColumnIterator
public ChunkedIntegerColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedIntegerColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Int
rowSequence
- TheRowSequence
to iterate over
-
-
Method Details
-
nextInt
public int nextInt()- Specified by:
nextInt
in interfacePrimitiveIterator.OfInt
-
forEachRemaining
- Specified by:
forEachRemaining
in interfacePrimitiveIterator<Integer,
IntConsumer> - Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfInt
-