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
,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.iterator.CloseableIterator
EMPTY
Fields inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfByte
EMPTY
-
Constructor Summary
ConstructorDescriptionSerialByteColumnIterator
(@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 TypeMethodDescriptionbyte
nextByte()
Returns the nextbyte
element in the iteration.Methods inherited from class io.deephaven.engine.table.iterators.SerialColumnIterator
hasNext, 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.ByteColumnIterator
forEachRemaining, next, stream, streamAsInt, streamAsInt
Methods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfByte
adaptToOfInt, forEachRemaining
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
-
Constructor Details
-
SerialByteColumnIterator
public SerialByteColumnIterator(@NotNull @NotNull ColumnSource<Byte> columnSource, @NotNull @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialByteColumnIterator.- Parameters:
columnSource
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate overfirstRowKey
- The first row key fromrowSet
to 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
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate over
-
-
Method Details
-
nextByte
public byte nextByte()Description copied from interface:CloseablePrimitiveIteratorOfByte
Returns the nextbyte
element in the iteration.- Specified by:
nextByte
in interfaceCloseablePrimitiveIteratorOfByte
- Returns:
- The next
byte
element in the iteration
-