Interface Neo4jClient.RecordFetchSpec<T>
- Type Parameters:
T
- The type to which the fetched records are eventually mapped
- All Known Subinterfaces:
Neo4jClient.MappingSpec<T>
- Enclosing interface:
- Neo4jClient
public static interface Neo4jClient.RecordFetchSpec<T>
- Since:
- 6.0
-
Method Summary
-
Method Details
-
one
Fetches exactly one record and throws an exception if there are more entries.- Returns:
- The one and only record.
-
first
Fetches only the first record. Returns an empty holder if there are no records.- Returns:
- The first record if any.
-
all
Collection<T> all()Fetches all records.- Returns:
- All records.
-