インターフェースの使用
org.springframework.data.domain.ExampleMatcher
org.springframework.data.domain 内の ExampleMatcher 使用
修飾子と型メソッド説明Example.getMatcher()
ExampleMatcher
を使用します。static ExampleMatcher
ExampleMatcher.matching()
デフォルトで、例から導出されたすべての述語に一致する、 null 以外のすべてのプロパティを含む新しいExampleMatcher
を作成します。static ExampleMatcher
ExampleMatcher.matchingAll()
デフォルトで、例から導出されたすべての述語に一致する、 null 以外のすべてのプロパティを含む新しいExampleMatcher
を作成します。static ExampleMatcher
ExampleMatcher.matchingAny()
例から導出されたすべての述語にデフォルトで一致する、 null 以外のすべてのプロパティを含む新しいExampleMatcher
を作成します。default ExampleMatcher
ExampleMatcher.withIgnoreCase()
デフォルトで大文字と小文字の区別を無視して、このExampleMatcher
のコピーを返します。ExampleMatcher.withIgnoreCase
(boolean defaultIgnoreCase) このExampleMatcher
のコピーをdefaultIgnoreCase
とともに返します。ExampleMatcher.withIgnoreCase
(StringSE... propertyPaths) propertyPaths
の大文字と小文字を区別せずに、このExampleMatcher
のコピーを返します。default ExampleMatcher
ExampleMatcher.withIgnoreNullValues()
ExampleMatcher.NullHandler.IGNORE
の null 値を処理して、このExampleMatcher
のコピーを返します。ExampleMatcher.withIgnorePaths
(StringSE... ignoredPaths) 指定されたpropertyPaths
を持つこのExampleMatcher
のコピーを返します。default ExampleMatcher
ExampleMatcher.withIncludeNullValues()
ExampleMatcher.NullHandler.INCLUDE
の null 値を処理して、このExampleMatcher
のコピーを返します。ExampleMatcher.withMatcher
(StringSE propertyPath, ExampleMatcher.GenericPropertyMatcher genericPropertyMatcher) default ExampleMatcher
ExampleMatcher.withMatcher
(StringSE propertyPath, ExampleMatcher.MatcherConfigurer<ExampleMatcher.GenericPropertyMatcher> matcherConfigurer) ExampleMatcher.withNullHandler
(ExampleMatcher.NullHandler nullHandler) 指定されたnullHandler
を持つこのExampleMatcher
のコピーを返します。ExampleMatcher.withStringMatcher
(ExampleMatcher.StringMatcher defaultStringMatcher) defaultStringMatcher
に一致する指定された文字列を持つこのExampleMatcher
のコピーを返します。ExampleMatcher.withTransformer
(StringSE propertyPath, ExampleMatcher.PropertyValueTransformer propertyValueTransformer) 修飾子と型メソッド説明static <T> Example<T>
Example.of
(T probe, ExampleMatcher matcher) 指定されたExampleMatcher
を使用して新しいExample
を作成します。org.springframework.data.support 内の ExampleMatcher 使用