Package net.hydromatic.morel.ast
Class Ast.Compute
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.FromStep
net.hydromatic.morel.ast.Ast.Group
net.hydromatic.morel.ast.Ast.Compute
- Enclosing class:
Ast
A
compute clause in a from expression.
Because compute and group are structurally similar, this
is a sub-class of Ast.Group, with an empty list of group keys. But
remember that the type derivation rules are different.
-
Field Summary
Fields inherited from class net.hydromatic.morel.ast.Ast.Group
aggregates, groupExps -
Constructor Summary
ConstructorsConstructorDescriptionCompute(Pos pos, com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates) -
Method Summary
Modifier and TypeMethodDescriptionAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.voidAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.copy(List<Ast.Aggregate> aggregates)
-
Constructor Details
-
Compute
Compute(Pos pos, com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates)
-
-
Method Details
-
accept
Description copied from class:AstNodeAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result. -
accept
Description copied from class:AstNodeAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result. -
copy
-