Class ChunkedLongColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Long,LongChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedLongColumnIterator
- All Implemented Interfaces:
CloseableIterator<Long>
,CloseablePrimitiveIterator<Long,
,LongConsumer> CloseablePrimitiveIteratorOfLong
,ColumnIterator<Long>
,LongColumnIterator
,SafeCloseable
,AutoCloseable
,Iterator<Long>
,PrimitiveIterator<Long,
,LongConsumer> PrimitiveIterator.OfLong
public final class ChunkedLongColumnIterator
extends ChunkedColumnIterator<Long,LongChunk<? extends Any>>
implements LongColumnIterator
Chunked
LongColumnIterator
implementation for chunk sources
of primitive longs.-
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.CloseablePrimitiveIteratorOfLong
EMPTY
-
Constructor Summary
ConstructorDescriptionChunkedLongColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedLongColumnIterator.ChunkedLongColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedLongColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRemaining
(@NotNull LongConsumer action) long
nextLong()
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.LongColumnIterator
forEachRemaining, longStream, next, stream
-
Constructor Details
-
ChunkedLongColumnIterator
public ChunkedLongColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedLongColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Long
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
-
ChunkedLongColumnIterator
public ChunkedLongColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedLongColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Long
rowSequence
- TheRowSequence
to iterate over
-
-
Method Details
-
nextLong
public long nextLong()- Specified by:
nextLong
in interfacePrimitiveIterator.OfLong
-
forEachRemaining
- Specified by:
forEachRemaining
in interfacePrimitiveIterator<Long,
LongConsumer> - Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfLong
-