Class SerialByteColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.SerialColumnIterator<Byte>
io.deephaven.engine.table.iterators.SerialByteColumnIterator
- 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 SerialByteColumnIterator
extends SerialColumnIterator<Byte>
implements ByteColumnIterator
Serial
ByteColumnIterator implementation for column 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 interface io.deephaven.engine.primitive.value.iterator.ValueIterator
EMPTYFields inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfByte
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSerialByteColumnIterator(@NotNull ColumnSource<Byte> columnSource, @NotNull RowSet rowSet) Create a new SerialByteColumnIterator.SerialByteColumnIterator(@NotNull ColumnSource<Byte> columnSource, @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialByteColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionbytenextByte()Returns the nextbyteelement in the iteration.Methods inherited from class io.deephaven.engine.table.iterators.SerialColumnIterator
hasNext, 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
adaptToOfInt, forEachRemainingMethods 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
-
SerialByteColumnIterator
public SerialByteColumnIterator(@NotNull @NotNull ColumnSource<Byte> columnSource, @NotNull @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialByteColumnIterator.- Parameters:
columnSource- TheColumnSourceto fetch values fromrowSet- TheRowSetto iterate overfirstRowKey- The first row key fromrowSetto iteratelength- The total number of rows to iterate
-
SerialByteColumnIterator
public SerialByteColumnIterator(@NotNull @NotNull ColumnSource<Byte> columnSource, @NotNull @NotNull RowSet rowSet) Create a new SerialByteColumnIterator.- Parameters:
columnSource- TheColumnSourceto fetch values fromrowSet- TheRowSetto 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
-