public interface Table extends Iterable<Row>, Described
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
columns()
Returns the columns of this table.
|
default Table |
materialise()
Returns a table which can be iterated over multiple times.
|
default java.util.stream.Stream<Row> |
stream()
Returns a sequential stream of the rows of this table.
|
default java.util.stream.Stream<Row> |
stream(boolean parallel)
Returns a stream of the rows of this table.
|
forEach, iterator, spliteratorpropertiesdefault Table materialise()
It may return this very table if it is already materialised.
default java.util.stream.Stream<Row> stream()
default java.util.stream.Stream<Row> stream(boolean parallel)
parallel - true if the stream is to be consumed in parallel, false otherwise.Copyright © 2018. All rights reserved.