Class ChunkedDoubleColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Double,DoubleChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedDoubleColumnIterator
- All Implemented Interfaces:
CloseableIterator<Double>
,CloseablePrimitiveIterator<Double,
,DoubleConsumer> CloseablePrimitiveIteratorOfDouble
,ColumnIterator<Double>
,DoubleColumnIterator
,SafeCloseable
,AutoCloseable
,Iterator<Double>
,PrimitiveIterator<Double,
,DoubleConsumer> PrimitiveIterator.OfDouble
public final class ChunkedDoubleColumnIterator
extends ChunkedColumnIterator<Double,DoubleChunk<? extends Any>>
implements DoubleColumnIterator
Chunked
DoubleColumnIterator
implementation for chunk sources
of primitive doubles.-
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.CloseablePrimitiveIteratorOfDouble
EMPTY
-
Constructor Summary
ConstructorDescriptionChunkedDoubleColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedDoubleColumnIterator.ChunkedDoubleColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedDoubleColumnIterator. -
Method Summary
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.DoubleColumnIterator
doubleStream, forEachRemaining, next, stream
-
Constructor Details
-
ChunkedDoubleColumnIterator
public ChunkedDoubleColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedDoubleColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Double
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
-
ChunkedDoubleColumnIterator
public ChunkedDoubleColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedDoubleColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Double
rowSequence
- TheRowSequence
to iterate over
-
-
Method Details
-
nextDouble
public double nextDouble()- Specified by:
nextDouble
in interfacePrimitiveIterator.OfDouble
-
forEachRemaining
- Specified by:
forEachRemaining
in interfacePrimitiveIterator<Double,
DoubleConsumer> - Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfDouble
-