@NotThreadSafe public class RecordsResultSet extends java.lang.Object implements ResultSet
Constructor and Description |
---|
RecordsResultSet(java.lang.Iterable<Record> recordIterable,
ColumnDefinitions columnDefinitions) |
RecordsResultSet(java.util.Iterator<Record> recordIterator,
ColumnDefinitions columnDefinitions) |
Modifier and Type | Method and Description |
---|---|
ColumnDefinitions |
getColumnDefinitions()
Returns metadata about the columns returned by the statement.
|
java.util.Iterator<Record> |
iterator() |
java.util.Optional<Record> |
one()
Returns the next record.
|
public RecordsResultSet(java.util.Iterator<Record> recordIterator, ColumnDefinitions columnDefinitions)
public RecordsResultSet(java.lang.Iterable<Record> recordIterable, ColumnDefinitions columnDefinitions)
public java.util.Optional<Record> one()
ResultSet
public java.util.Iterator<Record> iterator()
iterator
in interface java.lang.Iterable<Record>
public ColumnDefinitions getColumnDefinitions()
ResultSet
getColumnDefinitions
in interface ResultSet