Class SimpleReactiveQueryByExampleExecutor<T>
java.lang.Object
org.springframework.data.neo4j.repository.query.SimpleReactiveQueryByExampleExecutor<T>
- Type Parameters:
T
- type of the domain class
- All Implemented Interfaces:
ReactiveQueryByExampleExecutor<T>
@API(status=INTERNAL,
since="6.0")
public final class SimpleReactiveQueryByExampleExecutor<T>
extends Object
implements ReactiveQueryByExampleExecutor<T>
A fragment for repositories providing "Query by example" functionality in a reactive way.
- Since:
- 6.0
- Author:
- Gerrit Meier, Michael J. Simons
-
Constructor Summary
ConstructorDescriptionSimpleReactiveQueryByExampleExecutor
(ReactiveNeo4jOperations neo4jOperations, Neo4jMappingContext mappingContext) -
Method Summary
Modifier and TypeMethodDescription<S extends T>
reactor.core.publisher.Flux<S><S extends T>
reactor.core.publisher.Flux<S><S extends T,
R, P extends org.reactivestreams.Publisher<R>>
PfindBy
(Example<S> example, Function<FluentQuery.ReactiveFluentQuery<S>, P> queryFunction) <S extends T>
reactor.core.publisher.Mono<S>
-
Constructor Details
-
SimpleReactiveQueryByExampleExecutor
public SimpleReactiveQueryByExampleExecutor(ReactiveNeo4jOperations neo4jOperations, Neo4jMappingContext mappingContext)
-
-
Method Details
-
findOne
- Specified by:
findOne
in interfaceReactiveQueryByExampleExecutor<T>
-
findAll
- Specified by:
findAll
in interfaceReactiveQueryByExampleExecutor<T>
-
findAll
- Specified by:
findAll
in interfaceReactiveQueryByExampleExecutor<T>
-
count
- Specified by:
count
in interfaceReactiveQueryByExampleExecutor<T>
-
exists
- Specified by:
exists
in interfaceReactiveQueryByExampleExecutor<T>
-
findBy
public <S extends T,R, P findByP extends org.reactivestreams.Publisher<R>> (Example<S> example, Function<FluentQuery.ReactiveFluentQuery<S>, P> queryFunction) - Specified by:
findBy
in interfaceReactiveQueryByExampleExecutor<T>
-