public class SearchUtils extends Object
Static utility methods for the search implementation.
Constructor and Description |
---|
SearchUtils() |
Modifier and Type | Method and Description |
---|---|
static Optional<Predicate> |
assemblePredicatesWithAnd(Collection<Predicate> predicates)
Combines predicates using the AND operation.
|
static Optional<Predicate> |
assemblePredicatesWithOr(Collection<Predicate> predicates)
Combines predicates using the OR operation.
|
static String |
getStringWithWildcards(String value)
Surrounds a string with wildcards, escaping any wildcards that may be in the source string.
|
public static Optional<Predicate> assemblePredicatesWithAnd(Collection<Predicate> predicates)
Combines predicates using the AND operation.
predicates
- the input predicatespublic static Optional<Predicate> assemblePredicatesWithOr(Collection<Predicate> predicates)
Combines predicates using the OR operation.
predicates
- the input predicatesCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.