Package io.prestosql.sql.tree
Class FunctionCall
- java.lang.Object
-
- io.prestosql.sql.tree.Node
-
- io.prestosql.sql.tree.Expression
-
- io.prestosql.sql.tree.FunctionCall
-
public class FunctionCall extends Expression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionCall.NullTreatment
-
Constructor Summary
Constructors Constructor Description FunctionCall(NodeLocation location, QualifiedName name, java.util.List<Expression> arguments)FunctionCall(QualifiedName name, java.util.List<Expression> arguments)FunctionCall(java.util.Optional<NodeLocation> location, QualifiedName name, java.util.Optional<Window> window, java.util.Optional<Expression> filter, java.util.Optional<OrderBy> orderBy, boolean distinct, java.util.Optional<FunctionCall.NullTreatment> nullTreatment, java.util.List<Expression> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleanequals(java.lang.Object obj)java.util.List<Expression>getArguments()java.util.List<Node>getChildren()java.util.Optional<Expression>getFilter()QualifiedNamegetName()java.util.Optional<FunctionCall.NullTreatment>getNullTreatment()java.util.Optional<OrderBy>getOrderBy()java.util.Optional<Window>getWindow()inthashCode()booleanisDistinct()-
Methods inherited from class io.prestosql.sql.tree.Expression
toString
-
Methods inherited from class io.prestosql.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
FunctionCall
public FunctionCall(QualifiedName name, java.util.List<Expression> arguments)
-
FunctionCall
public FunctionCall(NodeLocation location, QualifiedName name, java.util.List<Expression> arguments)
-
FunctionCall
public FunctionCall(java.util.Optional<NodeLocation> location, QualifiedName name, java.util.Optional<Window> window, java.util.Optional<Expression> filter, java.util.Optional<OrderBy> orderBy, boolean distinct, java.util.Optional<FunctionCall.NullTreatment> nullTreatment, java.util.List<Expression> arguments)
-
-
Method Detail
-
getName
public QualifiedName getName()
-
getWindow
public java.util.Optional<Window> getWindow()
-
getOrderBy
public java.util.Optional<OrderBy> getOrderBy()
-
isDistinct
public boolean isDistinct()
-
getNullTreatment
public java.util.Optional<FunctionCall.NullTreatment> getNullTreatment()
-
getArguments
public java.util.List<Expression> getArguments()
-
getFilter
public java.util.Optional<Expression> getFilter()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:ExpressionAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classExpression
-
getChildren
public java.util.List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
-