Class ChunkedFloatColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Float,FloatChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedFloatColumnIterator
- All Implemented Interfaces:
CloseableIterator<Float>
,CloseablePrimitiveIterator<Float,
,FloatConsumer> CloseablePrimitiveIteratorOfFloat
,ColumnIterator<Float>
,FloatColumnIterator
,SafeCloseable
,AutoCloseable
,Iterator<Float>
,PrimitiveIterator<Float,
FloatConsumer>
public final class ChunkedFloatColumnIterator
extends ChunkedColumnIterator<Float,FloatChunk<? extends Any>>
implements FloatColumnIterator
Chunked
FloatColumnIterator
implementation for chunk sources
of primitive floats.-
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.CloseablePrimitiveIteratorOfFloat
EMPTY
-
Constructor Summary
ConstructorDescriptionChunkedFloatColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedFloatColumnIterator.ChunkedFloatColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedFloatColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRemaining
(@NotNull FloatConsumer action) float
Returns the nextfloat
element in the iteration.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.primitive.iterator.CloseablePrimitiveIteratorOfFloat
adaptToOfDouble
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface io.deephaven.engine.table.iterators.FloatColumnIterator
forEachRemaining, next, stream, streamAsDouble, streamAsDouble
-
Constructor Details
-
ChunkedFloatColumnIterator
public ChunkedFloatColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedFloatColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Float
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
-
ChunkedFloatColumnIterator
public ChunkedFloatColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedFloatColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Float
rowSequence
- TheRowSequence
to iterate over
-
-
Method Details
-
nextFloat
public float nextFloat()Description copied from interface:CloseablePrimitiveIteratorOfFloat
Returns the nextfloat
element in the iteration.- Specified by:
nextFloat
in interfaceCloseablePrimitiveIteratorOfFloat
- Returns:
- The next
float
element in the iteration
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceCloseablePrimitiveIteratorOfFloat
- Specified by:
forEachRemaining
in interfacePrimitiveIterator<Float,
FloatConsumer>
-