Interface LongColumnIterator
- All Superinterfaces:
AutoCloseable
,CloseableIterator<Long>
,CloseablePrimitiveIterator<Long,
,LongConsumer> CloseablePrimitiveIteratorOfLong
,ColumnIterator<Long>
,Iterator<Long>
,PrimitiveIterator<Long,
,LongConsumer> PrimitiveIterator.OfLong
,SafeCloseable
- All Known Implementing Classes:
ChunkedLongColumnIterator
,SerialLongColumnIterator
ColumnIterator
implementation for columns of primitive longs.-
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.CloseablePrimitiveIteratorOfLong
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
forEachRemaining
(@NotNull Consumer<? super Long> action) default LongStream
Create an unboxedLongStream
over the remaining elements of this LongColumnIterator.default Long
next()
stream()
Create a boxedStream
over the remaining elements of this LongColumnIterator.Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining, nextLong
-
Method Details
-
next
- Specified by:
next
in interfaceIterator<Long>
- Specified by:
next
in interfacePrimitiveIterator.OfLong
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceIterator<Long>
- Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfLong
-
longStream
Create an unboxedLongStream
over the remaining elements of this LongColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
longStream
in interfaceCloseablePrimitiveIteratorOfLong
- Returns:
- An unboxed
LongStream
over the remaining contents of this iterator. Must beclosed
.
-
stream
Create a boxedStream
over the remaining elements of this LongColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
stream
in interfaceCloseableIterator<Long>
- Returns:
- A boxed
Stream
over the remaining contents of this iterator. Must beclosed
.
-