Class ValueNumeric.Expression
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.expression.ValueNumeric.Expression
- All Implemented Interfaces:
Expressions.Operand
,Expressions.OperandSingle
,FilterableComparisonAbsolute
,FilterableComparisonRelative
,FilterableNumeric
,FilterExpression
,ValueNumeric
- Enclosing interface:
- ValueNumeric
public static class ValueNumeric.Expression
extends Object
implements FilterExpression, ValueNumeric
OData expression on numeric values.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.ValueNumeric
ValueNumeric.Expression
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.ValueNumeric
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExpression
(ODataProtocol protocol) Create the String representation of the expression based on a givenODataProtocol
.getExpression
(ODataProtocol protocol, Map<String, Predicate<FieldReference>> prefixes) Create the String representation of the expression.List of the operands used for the OData filter expression.String representation of the OData filter expression operator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.FilterableComparisonAbsolute
equalTo, equalTo, equalToNull, in, in, in, in, notEqualTo, notEqualTo, notEqualToNull
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.FilterableComparisonRelative
greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual
-
Constructor Details
-
Expression
-
-
Method Details
-
getOperator
Description copied from interface:FilterExpression
String representation of the OData filter expression operator.- Specified by:
getOperator
in interfaceFilterExpression
- Returns:
- The operator.
-
getOperands
Description copied from interface:FilterExpression
List of the operands used for the OData filter expression.- Specified by:
getOperands
in interfaceFilterExpression
- Returns:
- The operands.
-
getExpression
Description copied from interface:Expressions.Operand
Create the String representation of the expression based on a givenODataProtocol
.- Specified by:
getExpression
in interfaceExpressions.Operand
- Parameters:
protocol
- TheODataProtocol
that the expression should conform to.- Returns:
- The expression String.
-
getExpression
Description copied from interface:Expressions.Operand
Create the String representation of the expression.- Specified by:
getExpression
in interfaceExpressions.Operand
- Parameters:
protocol
- The OData protocol to derive serialization rules from.prefixes
- Additional field prefixes, e.g. when using lambda expressions.- Returns:
- The expression String.
-