java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions

public class Expressions extends Object
Wrapper class for expression types. The types listed here are used to differentiate input and output parameters of functions used in expressions of OData filters.
  • Constructor Details

    • Expressions

      public Expressions()
  • Method Details

    • createOperand

      @Nonnull public static <PrimitiveT> Expressions.OperandSingle createOperand(@Nullable PrimitiveT value)
      Helper function to generate an OData filter expression operand for a primitive Java type.
      Type Parameters:
      PrimitiveT - Type of the Java literal.
      Parameters:
      value - Java literal.
      Returns:
      The OData filter expression operand representation of the Java literal.
      Throws:
      IllegalArgumentException - When there is no mapping found for the provided Java literal.