Uses of Interface
org.springframework.data.domain.Example
Packages that use Example
Package
Description
Central domain abstractions especially to be used in combination with the
Repository abstraction.Support classes to work with query methods.
-
Uses of Example in org.springframework.data.domain
Methods in org.springframework.data.domain that return ExampleModifier and TypeMethodDescriptionstatic <T> Example<T>Example.of(T probe) Create a newExampleincluding all non-null properties by default.static <T> Example<T>Example.of(T probe, ExampleMatcher matcher) Create a newExampleusing the givenExampleMatcher. -
Uses of Example in org.springframework.data.repository.query
Methods in org.springframework.data.repository.query with parameters of type ExampleModifier and TypeMethodDescription<S extends T>
longReturns the number of instances matching the givenExample.Returns the number of instances matching the givenExample.<S extends T>
booleanChecks whether the data store contains elements that match the givenExample.Checks whether the data store contains elements that match the givenExample.Returns all entities matching the givenExample.Returns all entities matching the givenExample.<S extends T>
reactor.core.publisher.Flux<S>Returns all entities matching the givenExample.<S extends T>
reactor.core.publisher.Flux<S><S extends T,R>
RQueryByExampleExecutor.findBy(Example<S> example, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) Returns entities matching the givenExampleapplying thequeryFunctionthat defines the query and its result type.<S extends T,R, P extends org.reactivestreams.Publisher<R>>
PReactiveQueryByExampleExecutor.findBy(Example<S> example, Function<FluentQuery.ReactiveFluentQuery<S>, P> queryFunction) Returns entities matching the givenExampleapplying thequeryFunctionthat defines the query and its result type.Returns a single entity matching the givenExampleorOptional.empty()if none was found.<S extends T>
reactor.core.publisher.Mono<S>Returns a single entity matching the givenExampleorMono.empty()if none was found.