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,ValueIterator<Long>,ValueIteratorOfLong,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_SIZEFields inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIterator
EMPTYFields inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfLong
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionChunkedLongColumnIterator(@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 TypeMethodDescriptionvoidforEachRemaining(@NotNull LongConsumer action) longnextLong()Methods inherited from class io.deephaven.engine.table.iterators.ChunkedColumnIterator
close, hasNext, make, make, remainingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
closeMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIterator
remainingMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfLong
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- TheChunkSourceto fetch values from; must havechunk typeofChunkType.LongrowSequence- TheRowSequenceto iterate overchunkSize- The buffer size to use when fetching datafirstRowKey- The first row key fromrowSequenceto 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- TheChunkSourceto fetch values from; must havechunk typeofChunkType.LongrowSequence- TheRowSequenceto iterate over
-
-
Method Details
-
nextLong
public long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
forEachRemaining
- Specified by:
forEachRemainingin interfacePrimitiveIterator<Long,LongConsumer> - Specified by:
forEachRemainingin interfacePrimitiveIterator.OfLong
-