T
- The type to which the fetched records are eventually mappedpublic static interface Neo4jClient.RecordFetchSpec<T>
Modifier and Type | Method and Description |
---|---|
Collection<T> |
all()
Fetches all records.
|
Optional<T> |
first()
Fetches only the first record.
|
Optional<T> |
one()
Fetches exactly one record and throws an exception if there are more entries.
|
Optional<T> one()
Optional<T> first()
Collection<T> all()
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.