public interface Response<T> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String[] |
columns() |
default Optional<QueryStatistics> |
getStatistics()
Responses that contain statistics can hook into here to return.
|
T |
next() |
default List<T> |
toList()
Convert remaining items in this response to list
This might be used to materialize whole response for checking number of results, allowing to close transaction
etc.
|
T next()
default List<T> toList()
close().void close()
close in interface AutoCloseableString[] columns()
default Optional<QueryStatistics> getStatistics()
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.