Package io.prestosql.sql.relational
Class Expressions
- java.lang.Object
-
- io.prestosql.sql.relational.Expressions
-
public final class Expressions extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallExpression
call(ResolvedFunction resolvedFunction, RowExpression... arguments)
static CallExpression
call(ResolvedFunction resolvedFunction, List<RowExpression> arguments)
static ConstantExpression
constant(Object value, Type type)
static ConstantExpression
constantNull(Type type)
static InputReferenceExpression
field(int field, Type type)
static List<RowExpression>
subExpressions(Iterable<RowExpression> expressions)
-
-
-
Method Detail
-
constant
public static ConstantExpression constant(Object value, Type type)
-
constantNull
public static ConstantExpression constantNull(Type type)
-
call
public static CallExpression call(ResolvedFunction resolvedFunction, RowExpression... arguments)
-
call
public static CallExpression call(ResolvedFunction resolvedFunction, List<RowExpression> arguments)
-
field
public static InputReferenceExpression field(int field, Type type)
-
subExpressions
public static List<RowExpression> subExpressions(Iterable<RowExpression> expressions)
-
-