public class SearchExpression extends Object
Constructor and Description |
---|
SearchExpression(String term) |
Modifier and Type | Method and Description |
---|---|
SearchExpression |
and(SearchExpression searchExpression)
Combine current search expression with another search expression in conjunction.
|
SearchExpression |
and(String term)
Combine current string with another search string in conjunction.
|
protected String |
getTerm() |
SearchExpression |
not()
Negate the current search expression.
|
static SearchExpression |
of(String term)
Create a search expression for a single string.
|
SearchExpression |
or(SearchExpression searchExpression)
Combine current search expression with another search expression in disjunction.
|
SearchExpression |
or(String term)
Combine current string with another search string in disjunction.
|
@Nonnull public static SearchExpression of(@Nonnull String term)
term
- The search string@Nonnull public SearchExpression and(@Nonnull String term)
term
- The other search string.@Nonnull public SearchExpression and(@Nonnull SearchExpression searchExpression)
searchExpression
- The other search expression.@Nonnull public SearchExpression or(@Nonnull String term)
term
- The other search string.@Nonnull public SearchExpression or(@Nonnull SearchExpression searchExpression)
searchExpression
- The other search expression.@Nonnull public SearchExpression not()
Copyright © 2020 SAP SE. All rights reserved.