StringExpression instead.@Deprecated public class StringWildcardExpression extends Object implements Expression
Expression corresponding to the wildcard comparison with a metadata,
meaning that the Expression will search metadata containing the specified value.Expression.Operator| Modifier and Type | Field and Description |
|---|---|
private boolean |
_caseInsensitive
Deprecated.
|
private MetadataExpression |
_metadata
Deprecated.
|
private String |
_value
Deprecated.
|
| Constructor and Description |
|---|
StringWildcardExpression(String metadata,
String value,
boolean caseInsensitive)
Deprecated.
Creates the comparison Expression.
|
StringWildcardExpression(String metadata,
String value,
boolean caseInsensitive,
boolean unversioned)
Deprecated.
Creates the comparison Expression.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
_escapeValue(String value)
Deprecated.
|
String |
build()
Deprecated.
Build the expression.
|
private MetadataExpression _metadata
private boolean _caseInsensitive
public StringWildcardExpression(String metadata, String value, boolean caseInsensitive)
metadata - the metadata name.value - the String value.caseInsensitive - true if the search must be case insensitive.public StringWildcardExpression(String metadata, String value, boolean caseInsensitive, boolean unversioned)
metadata - the metadata name.value - the String value.caseInsensitive - true if the search must be case insensitive.unversioned - true if the metadata is unversioned, false otherwise.public String build()
Expressionbuild in interface Expressionprivate String _escapeValue(String value)