public static class ValueString.Expression extends Object implements FilterExpression, ValueString
ValueString.Expression
Constructor and Description |
---|
Expression(FilterExpression delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getExpression(ODataProtocol protocol)
Create the String representation of the expression based on a given
ODataProtocol . |
String |
getExpression(ODataProtocol protocol,
Map<String,Predicate<FieldReference>> prefixes)
Create the String representation of the expression.
|
List<Expressions.Operand> |
getOperands()
List of the operands used for the OData filter expression.
|
String |
getOperator()
String representation of the OData filter expression operator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
literal
concat, concat, contains, contains, endsWith, endsWith, indexOf, indexOf, length, matches, matches, startsWith, startsWith, substring, substring, substringOf, substringOf, toLower, toUpper, trim
equalTo, equalTo, notEqualTo, notEqualTo
greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual
public Expression(FilterExpression delegate)
public String getOperator()
FilterExpression
getOperator
in interface FilterExpression
public List<Expressions.Operand> getOperands()
FilterExpression
getOperands
in interface FilterExpression
public String getExpression(ODataProtocol protocol)
Expressions.Operand
ODataProtocol
.getExpression
in interface Expressions.Operand
protocol
- The ODataProtocol
that the expression should conform to.public String getExpression(ODataProtocol protocol, Map<String,Predicate<FieldReference>> prefixes)
Expressions.Operand
getExpression
in interface Expressions.Operand
protocol
- The OData protocol to derive serialization rules from.prefixes
- Additional field prefixes, e.g. when using lambda expressions.Copyright © 2020 SAP SE. All rights reserved.