Class ChunkedCharacterColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.ChunkedColumnIterator<Character,CharChunk<? extends Any>>
io.deephaven.engine.table.iterators.ChunkedCharacterColumnIterator
- All Implemented Interfaces:
CloseableIterator<Character>
,CloseablePrimitiveIterator<Character,
,CharConsumer> CloseablePrimitiveIteratorOfChar
,CharacterColumnIterator
,ColumnIterator<Character>
,SafeCloseable
,AutoCloseable
,Iterator<Character>
,PrimitiveIterator<Character,
CharConsumer>
public final class ChunkedCharacterColumnIterator
extends ChunkedColumnIterator<Character,CharChunk<? extends Any>>
implements CharacterColumnIterator
Chunked
CharacterColumnIterator
implementation for chunk sources
of primitive chars.-
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.CloseablePrimitiveIteratorOfChar
EMPTY
-
Constructor Summary
ConstructorDescriptionChunkedCharacterColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence) Create a new ChunkedCharacterColumnIterator.ChunkedCharacterColumnIterator
(@NotNull ChunkSource<? extends Any> chunkSource, @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedCharacterColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachRemaining
(@NotNull CharConsumer action) char
nextChar()
Returns the nextchar
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.table.iterators.CharacterColumnIterator
forEachRemaining, next, stream, streamAsInt, streamAsInt
Methods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfChar
adaptToOfInt
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
-
Constructor Details
-
ChunkedCharacterColumnIterator
public ChunkedCharacterColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence, int chunkSize, long firstRowKey, long length) Create a new ChunkedCharacterColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Char
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
-
ChunkedCharacterColumnIterator
public ChunkedCharacterColumnIterator(@NotNull @NotNull ChunkSource<? extends Any> chunkSource, @NotNull @NotNull RowSequence rowSequence) Create a new ChunkedCharacterColumnIterator.- Parameters:
chunkSource
- TheChunkSource
to fetch values from; must havechunk type
ofChunkType.Char
rowSequence
- TheRowSequence
to iterate over
-
-
Method Details
-
nextChar
public char nextChar()Description copied from interface:CloseablePrimitiveIteratorOfChar
Returns the nextchar
element in the iteration.- Specified by:
nextChar
in interfaceCloseablePrimitiveIteratorOfChar
- Returns:
- The next
char
element in the iteration
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceCloseablePrimitiveIteratorOfChar
- Specified by:
forEachRemaining
in interfacePrimitiveIterator<Character,
CharConsumer>
-