Package io.prestosql.sql.tree
Class LambdaExpression
- java.lang.Object
-
- io.prestosql.sql.tree.Node
-
- io.prestosql.sql.tree.Expression
-
- io.prestosql.sql.tree.LambdaExpression
-
public class LambdaExpression extends Expression
-
-
Constructor Summary
Constructors Constructor Description LambdaExpression(NodeLocation location, java.util.List<LambdaArgumentDeclaration> arguments, Expression body)LambdaExpression(java.util.List<LambdaArgumentDeclaration> arguments, Expression body)
-
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<LambdaArgumentDeclaration>getArguments()ExpressiongetBody()java.util.List<Node>getChildren()inthashCode()-
Methods inherited from class io.prestosql.sql.tree.Expression
toString
-
Methods inherited from class io.prestosql.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
LambdaExpression
public LambdaExpression(java.util.List<LambdaArgumentDeclaration> arguments, Expression body)
-
LambdaExpression
public LambdaExpression(NodeLocation location, java.util.List<LambdaArgumentDeclaration> arguments, Expression body)
-
-
Method Detail
-
getArguments
public java.util.List<LambdaArgumentDeclaration> getArguments()
-
getBody
public Expression getBody()
-
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
-
-