Class ChunkedShortColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Short,ShortChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedShortColumnIterator
- All Implemented Interfaces:
CloseableIterator<Short>,CloseablePrimitiveIterator<Short,,ShortConsumer> CloseablePrimitiveIteratorOfShort,ValueIterator<Short>,ValueIteratorOfShort,ColumnIterator<Short>,ShortColumnIterator,SafeCloseable,AutoCloseable,Iterator<Short>,PrimitiveIterator<Short,ShortConsumer>
public final class ChunkedShortColumnIterator
extends ChunkedColumnIterator<Short,ShortChunk<? extends Any>>
implements ShortColumnIterator
Chunked
ShortColumnIterator implementation for chunk sources of primitive shorts.-
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.ValueIteratorOfShort
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionChunkedShortColumnIterator(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedShortColumnIterator.ChunkedShortColumnIterator(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedShortColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(@NotNull ShortConsumer action) shortReturns the nextshortelement 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.CloseablePrimitiveIteratorOfShort
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.ValueIteratorOfShort
forEachRemaining, next, streamAsInt, streamAsInt
-
Constructor Details
-
ChunkedShortColumnIterator
public ChunkedShortColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedShortColumnIterator.- Parameters:
chunkSource- TheChunkSourceto fetch values from; must havechunk typeofChunkType.ShortrowSequence- TheRowSequenceto iterate overchunkSize- The buffer size to use when fetching datafirstRowKey- The first row key fromrowSequenceto iteratelength- The total number of rows to iterate
-
ChunkedShortColumnIterator
public ChunkedShortColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedShortColumnIterator.- Parameters:
chunkSource- TheChunkSourceto fetch values from; must havechunk typeofChunkType.ShortrowSequence- TheRowSequenceto iterate over
-
-
Method Details
-
nextShort
public short nextShort()Description copied from interface:CloseablePrimitiveIteratorOfShortReturns the nextshortelement in the iteration.- Specified by:
nextShortin interfaceCloseablePrimitiveIteratorOfShort- Returns:
- The next
shortelement in the iteration
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceCloseablePrimitiveIteratorOfShort- Specified by:
forEachRemainingin interfacePrimitiveIterator<Short,ShortConsumer>
-