Class ChunkedByteColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Byte,ByteChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedByteColumnIterator
- All Implemented Interfaces:
CloseableIterator<Byte>,CloseablePrimitiveIterator<Byte,,ByteConsumer> CloseablePrimitiveIteratorOfByte,ValueIterator<Byte>,ValueIteratorOfByte,ByteColumnIterator,ColumnIterator<Byte>,SafeCloseable,AutoCloseable,Iterator<Byte>,PrimitiveIterator<Byte,ByteConsumer>
public final class ChunkedByteColumnIterator
extends ChunkedColumnIterator<Byte,ByteChunk<? extends Any>>
implements ByteColumnIterator
Chunked
ByteColumnIterator implementation for chunk sources of primitive bytes.-
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.ValueIteratorOfByte
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionChunkedByteColumnIterator(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedByteColumnIterator.ChunkedByteColumnIterator(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedByteColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(@NotNull ByteConsumer action) bytenextByte()Returns the nextbyteelement in the iteration.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.primitive.iterator.CloseablePrimitiveIteratorOfByte
adaptToOfIntMethods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
closeMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIterator
remaining, streamMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfByte
forEachRemaining, next, streamAsInt, streamAsInt
-
Constructor Details
-
ChunkedByteColumnIterator
public ChunkedByteColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedByteColumnIterator.- Parameters:
chunkSource- TheChunkSourceto fetch values from; must havechunk typeofChunkType.ByterowSequence- TheRowSequenceto iterate overchunkSize- The buffer size to use when fetching datafirstRowKey- The first row key fromrowSequenceto iteratelength- The total number of rows to iterate
-
ChunkedByteColumnIterator
public ChunkedByteColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedByteColumnIterator.- Parameters:
chunkSource- TheChunkSourceto fetch values from; must havechunk typeofChunkType.ByterowSequence- TheRowSequenceto iterate over
-
-
Method Details
-
nextByte
public byte nextByte()Description copied from interface:CloseablePrimitiveIteratorOfByteReturns the nextbyteelement in the iteration.- Specified by:
nextBytein interfaceCloseablePrimitiveIteratorOfByte- Returns:
- The next
byteelement in the iteration
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceCloseablePrimitiveIteratorOfByte- Specified by:
forEachRemainingin interfacePrimitiveIterator<Byte,ByteConsumer>
-