Class StandardFunctions

java.lang.Object
io.trino.spi.expression.StandardFunctions

public final class StandardFunctions extends Object
  • Field Details

    • AND_FUNCTION_NAME

      public static final FunctionName AND_FUNCTION_NAME
      $and is a vararg function accepting boolean arguments
    • OR_FUNCTION_NAME

      public static final FunctionName OR_FUNCTION_NAME
      $or is a vararg function accepting boolean arguments
    • NOT_FUNCTION_NAME

      public static final FunctionName NOT_FUNCTION_NAME
      $not is a function accepting boolean argument
    • IS_NULL_FUNCTION_NAME

      public static final FunctionName IS_NULL_FUNCTION_NAME
    • NULLIF_FUNCTION_NAME

      public static final FunctionName NULLIF_FUNCTION_NAME
      $nullif is a function accepting two arguments. Returns null if both values are the same, otherwise returns the first value.
    • CAST_FUNCTION_NAME

      public static final FunctionName CAST_FUNCTION_NAME
      $cast function result type is determined by the ConnectorExpression.getType()
    • EQUAL_OPERATOR_FUNCTION_NAME

      public static final FunctionName EQUAL_OPERATOR_FUNCTION_NAME
    • NOT_EQUAL_OPERATOR_FUNCTION_NAME

      public static final FunctionName NOT_EQUAL_OPERATOR_FUNCTION_NAME
    • LESS_THAN_OPERATOR_FUNCTION_NAME

      public static final FunctionName LESS_THAN_OPERATOR_FUNCTION_NAME
    • LESS_THAN_OR_EQUAL_OPERATOR_FUNCTION_NAME

      public static final FunctionName LESS_THAN_OR_EQUAL_OPERATOR_FUNCTION_NAME
    • GREATER_THAN_OPERATOR_FUNCTION_NAME

      public static final FunctionName GREATER_THAN_OPERATOR_FUNCTION_NAME
    • GREATER_THAN_OR_EQUAL_OPERATOR_FUNCTION_NAME

      public static final FunctionName GREATER_THAN_OR_EQUAL_OPERATOR_FUNCTION_NAME
    • IS_DISTINCT_FROM_OPERATOR_FUNCTION_NAME

      public static final FunctionName IS_DISTINCT_FROM_OPERATOR_FUNCTION_NAME
    • ADD_FUNCTION_NAME

      public static final FunctionName ADD_FUNCTION_NAME
      Arithmetic addition.
    • SUBTRACT_FUNCTION_NAME

      public static final FunctionName SUBTRACT_FUNCTION_NAME
      Arithmetic subtraction.
    • MULTIPLY_FUNCTION_NAME

      public static final FunctionName MULTIPLY_FUNCTION_NAME
      Arithmetic multiplication.
    • DIVIDE_FUNCTION_NAME

      public static final FunctionName DIVIDE_FUNCTION_NAME
      Arithmetic division.
    • MODULUS_FUNCTION_NAME

      public static final FunctionName MODULUS_FUNCTION_NAME
      Arithmetic modulus.
    • NEGATE_FUNCTION_NAME

      public static final FunctionName NEGATE_FUNCTION_NAME
      Arithmetic unary minus.
    • LIKE_FUNCTION_NAME

      public static final FunctionName LIKE_FUNCTION_NAME
    • IN_PREDICATE_FUNCTION_NAME

      public static final FunctionName IN_PREDICATE_FUNCTION_NAME
      $in(value, array) returns true when value is equal to an element of the array, otherwise returns NULL when comparing value to an element of the array returns an indeterminate result, otherwise returns false
    • ARRAY_CONSTRUCTOR_FUNCTION_NAME

      public static final FunctionName ARRAY_CONSTRUCTOR_FUNCTION_NAME
      $array creates instance of ArrayType