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