Uses of Interface
org.springframework.data.domain.ExampleMatcher
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.Core support classes.
-
Uses of ExampleMatcher in org.springframework.data.domain
Modifier and TypeMethodDescriptionExample.getMatcher()
Get theExampleMatcher
used.static ExampleMatcher
ExampleMatcher.matching()
Create a newExampleMatcher
including all non-null properties by default matching all predicates derived from the example.static ExampleMatcher
ExampleMatcher.matchingAll()
Create a newExampleMatcher
including all non-null properties by default matching all predicates derived from the example.static ExampleMatcher
ExampleMatcher.matchingAny()
Create a newExampleMatcher
including all non-null properties by default matching any predicate derived from the example.default ExampleMatcher
ExampleMatcher.withIgnoreCase()
Returns a copy of thisExampleMatcher
with ignoring case sensitivity by default.ExampleMatcher.withIgnoreCase
(boolean defaultIgnoreCase) Returns a copy of thisExampleMatcher
withdefaultIgnoreCase
.ExampleMatcher.withIgnoreCase
(String... propertyPaths) Returns a copy of thisExampleMatcher
with ignore case sensitivity for thepropertyPaths
.default ExampleMatcher
ExampleMatcher.withIgnoreNullValues()
Returns a copy of thisExampleMatcher
with treatment for null values ofExampleMatcher.NullHandler.IGNORE
.ExampleMatcher.withIgnorePaths
(String... ignoredPaths) Returns a copy of thisExampleMatcher
with the specifiedpropertyPaths
.default ExampleMatcher
ExampleMatcher.withIncludeNullValues()
Returns a copy of thisExampleMatcher
with treatment for null values ofExampleMatcher.NullHandler.INCLUDE
.ExampleMatcher.withMatcher
(String propertyPath, ExampleMatcher.GenericPropertyMatcher genericPropertyMatcher) Returns a copy of thisExampleMatcher
with the specifiedGenericPropertyMatcher
for thepropertyPath
.default ExampleMatcher
ExampleMatcher.withMatcher
(String propertyPath, ExampleMatcher.MatcherConfigurer<ExampleMatcher.GenericPropertyMatcher> matcherConfigurer) Returns a copy of thisExampleMatcher
with the specifiedGenericPropertyMatcher
for thepropertyPath
.ExampleMatcher.withNullHandler
(ExampleMatcher.NullHandler nullHandler) Returns a copy of thisExampleMatcher
with the specifiednullHandler
.ExampleMatcher.withStringMatcher
(ExampleMatcher.StringMatcher defaultStringMatcher) Returns a copy of thisExampleMatcher
with the specified string matching ofdefaultStringMatcher
.ExampleMatcher.withTransformer
(String propertyPath, ExampleMatcher.PropertyValueTransformer propertyValueTransformer) Returns a copy of thisExampleMatcher
with the specifiedPropertyValueTransformer
for thepropertyPath
.Modifier and TypeMethodDescriptionstatic <T> Example<T>
Example.of
(T probe, ExampleMatcher matcher) Create a newExample
using the givenExampleMatcher
. -
Uses of ExampleMatcher in org.springframework.data.support