| Package | Description |
|---|---|
| org.neo4j.driver.v1 |
| Modifier and Type | Method and Description |
|---|---|
Record |
StatementResult.next()
Navigate to and retrieve the next
Record in this result. |
Record |
StatementResult.peek()
Investigate the next upcoming record without moving forward in the result.
|
Record |
StatementResult.single()
Return the first record in the result, failing if there is not exactly
one record left in the stream
Calling this method always exhausts the result, even when
NoSuchRecordException is thrown. |
| Modifier and Type | Method and Description |
|---|---|
static Function<Record,Value> |
Records.column(int index) |
static <T> Function<Record,T> |
Records.column(int index,
Function<Value,T> mapFunction) |
static Function<Record,Value> |
Records.column(String key) |
static <T> Function<Record,T> |
Records.column(String key,
Function<Value,T> mapFunction) |
List<Record> |
StatementResult.list()
Retrieve and store the entire result stream.
|
| Modifier and Type | Method and Description |
|---|---|
StatementResult |
StatementRunner.run(String statementTemplate,
Record statementParameters)
Run a statement and return a result stream.
|
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
StatementResult.list(Function<Record,T> mapFunction)
Retrieve and store a projection of the entire result.
|
Copyright © 2017. All rights reserved.