public interface DataSet extends Closeable, Iterable<Row>
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the DataSet and any resources it may be holding.
|
Row |
getRow() |
SelectItem[] |
getSelectItems() |
int |
indexOf(SelectItem item)
Finds the index of a given SelectItem
|
Iterator<Row> |
iterator()
Converts the DataSet into an Iterator.
|
boolean |
next()
Moves forward to the next row.
|
List<Object[]> |
toObjectArrays()
Converts the DataSet into a list of object arrays (will load all values
into memory)
|
List<Row> |
toRows()
Converts the DataSet into a list of rows (will load all rows into memory)
|
forEach, spliterator
SelectItem[] getSelectItems()
int indexOf(SelectItem item)
item
- boolean next()
Row getRow()
void close()
close
in interface AutoCloseable
close
in interface Closeable
List<Object[]> toObjectArrays()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.