Package net.hydromatic.morel.ast
Class Ast.From
- java.lang.Object
-
- net.hydromatic.morel.ast.AstNode
-
- net.hydromatic.morel.ast.Ast.Exp
-
- net.hydromatic.morel.ast.Ast.From
-
-
Field Summary
Fields Modifier and Type Field Description com.google.common.collect.ImmutableList<Ast.Aggregate>aggregatesAst.ExpfilterExpcom.google.common.collect.ImmutableList<Pair<Ast.Exp,Ast.Id>>groupExpsjava.util.Map<Ast.Id,Ast.Exp>sourcesAst.ExpyieldExpAst.ExpyieldExpOrDefaultThe expression in the yield clause, or the default yield expression if not specified; never null.
-
Constructor Summary
Constructors Constructor Description From(Pos pos, com.google.common.collect.ImmutableMap<Ast.Id,Ast.Exp> sources, Ast.Exp filterExp, Ast.Exp yieldExp, com.google.common.collect.ImmutableList<Pair<Ast.Exp,Ast.Id>> groupExps, com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ast.Expaccept(Shuttle shuttle)Accepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.Ast.Fromcopy(java.util.Map<Ast.Id,Ast.Exp> sources, Ast.Exp filterExp, Ast.Exp yieldExp, java.util.List<Pair<Ast.Exp,Ast.Id>> groupExps, java.util.List<Ast.Aggregate> aggregates)Creates a copy of thisFromwith given contents, or this if the contents are the same.(package private) AstWriterunparse(AstWriter w, int left, int right)-
Methods inherited from class net.hydromatic.morel.ast.Ast.Exp
args, forEachArg
-
-
-
-
Field Detail
-
filterExp
public final Ast.Exp filterExp
-
yieldExp
public final Ast.Exp yieldExp
-
yieldExpOrDefault
public final Ast.Exp yieldExpOrDefault
The expression in the yield clause, or the default yield expression if not specified; never null.
-
aggregates
public final com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates
-
-
Method Detail
-
accept
public Ast.Exp accept(Shuttle shuttle)
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.
-
-