Package io.trino.sql.relational
Class SpecialForm
- java.lang.Object
-
- io.trino.sql.relational.RowExpression
-
- io.trino.sql.relational.SpecialForm
-
public class SpecialForm extends RowExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpecialForm.Form
-
Constructor Summary
Constructors Constructor Description SpecialForm(SpecialForm.Form form, Type returnType, RowExpression... arguments)SpecialForm(SpecialForm.Form form, Type returnType, List<RowExpression> arguments)SpecialForm(SpecialForm.Form form, Type returnType, List<RowExpression> arguments, List<ResolvedFunction> functionDependencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(RowExpressionVisitor<R,C> visitor, C context)booleanequals(Object o)List<RowExpression>getArguments()Optional<ResolvedFunction>getCastDependency(Type fromType, Type toType)SpecialForm.FormgetForm()List<ResolvedFunction>getFunctionDependencies()ResolvedFunctiongetOperatorDependency(OperatorType operator)TypegetType()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SpecialForm
public SpecialForm(SpecialForm.Form form, Type returnType, RowExpression... arguments)
-
SpecialForm
public SpecialForm(SpecialForm.Form form, Type returnType, List<RowExpression> arguments)
-
SpecialForm
public SpecialForm(SpecialForm.Form form, Type returnType, List<RowExpression> arguments, List<ResolvedFunction> functionDependencies)
-
-
Method Detail
-
getForm
public SpecialForm.Form getForm()
-
getFunctionDependencies
public List<ResolvedFunction> getFunctionDependencies()
-
getOperatorDependency
public ResolvedFunction getOperatorDependency(OperatorType operator)
-
getCastDependency
public Optional<ResolvedFunction> getCastDependency(Type fromType, Type toType)
-
getType
public Type getType()
- Specified by:
getTypein classRowExpression
-
getArguments
public List<RowExpression> getArguments()
-
toString
public String toString()
- Specified by:
toStringin classRowExpression
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classRowExpression
-
hashCode
public int hashCode()
- Specified by:
hashCodein classRowExpression
-
accept
public <R,C> R accept(RowExpressionVisitor<R,C> visitor, C context)
- Specified by:
acceptin classRowExpression
-
-