public class ExpressionBuilder extends Object
Builder for Expression
s.
Constructor and Description |
---|
ExpressionBuilder() |
public static ValueLiteralExpression nullOf(DataType type)
public static ValueLiteralExpression literal(Object value)
public static ValueLiteralExpression literal(Object value, DataType type)
public static UnresolvedCallExpression call(FunctionDefinition functionDefinition, Expression... args)
public static UnresolvedCallExpression call(FunctionDefinition functionDefinition, List<Expression> args)
public static UnresolvedCallExpression and(Expression arg1, Expression arg2)
public static UnresolvedCallExpression or(Expression arg1, Expression arg2)
public static UnresolvedCallExpression not(Expression arg)
public static UnresolvedCallExpression isNull(Expression input)
public static UnresolvedCallExpression isTrue(Expression input)
public static UnresolvedCallExpression coalesce(Expression... args)
public static UnresolvedCallExpression ifThenElse(Expression condition, Expression ifTrue, Expression ifFalse)
public static UnresolvedCallExpression plus(Expression input1, Expression input2)
@Internal public static UnresolvedCallExpression hiveAggDecimalPlus(Expression input1, Expression input2)
public static UnresolvedCallExpression minus(Expression input1, Expression input2)
public static UnresolvedCallExpression div(Expression input1, Expression input2)
public static UnresolvedCallExpression times(Expression input1, Expression input2)
public static UnresolvedCallExpression mod(Expression input1, Expression input2)
public static UnresolvedCallExpression equalTo(Expression input1, Expression input2)
public static UnresolvedCallExpression lessThan(Expression input1, Expression input2)
public static UnresolvedCallExpression greaterThan(Expression input1, Expression input2)
public static UnresolvedCallExpression cast(Expression child, Expression type)
public static UnresolvedCallExpression tryCast(Expression child, Expression type)
public static TypeLiteralExpression typeLiteral(DataType type)
public static UnresolvedCallExpression concat(Expression input1, Expression input2)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.