public static class ValueBinary.Expression extends Object implements FilterExpression, ValueBinary
ValueBinary.Expression
DECODE_FROM_STRING, ENCODE_TO_STRING, NULL
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
equalTo, equalTo, notEqualTo, notEqualTo
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 © 2021 SAP SE. All rights reserved.