Package net.hydromatic.morel.ast
Class Core.Group
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Core.BaseNode
net.hydromatic.morel.ast.Core.FromStep
net.hydromatic.morel.ast.Core.Group
- Enclosing class:
Core
A
group clause in a from expression.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SortedMap<Core.IdPat, Core.Aggregate> final SortedMap<Core.IdPat, Core.Exp> Fields inherited from class net.hydromatic.morel.ast.Core.FromStep
bindings -
Constructor Summary
ConstructorsConstructorDescriptionGroup(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Exp> groupExps, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.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(SortedMap<Core.IdPat, Core.Exp> groupExps, SortedMap<Core.IdPat, Core.Aggregate> aggregates) protected AstWriterMethods inherited from class net.hydromatic.morel.ast.Core.FromStep
unparse
-
Field Details
-
groupExps
-
aggregates
-
-
Constructor Details
-
Group
Group(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Exp> groupExps, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.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.- Specified by:
acceptin classCore.FromStep
-
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.- Overrides:
acceptin classCore.BaseNode
-
unparse
- Specified by:
unparsein classCore.FromStep
-
copy
public Core.Group copy(SortedMap<Core.IdPat, Core.Exp> groupExps, SortedMap<Core.IdPat, Core.Aggregate> aggregates)
-