Package net.hydromatic.morel.ast
Class Core.FromStep
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Core.BaseNode
net.hydromatic.morel.ast.Core.FromStep
- Direct Known Subclasses:
Core.Group,Core.Order,Core.Scan,Core.SetStep,Core.Skip,Core.Take,Core.Unorder,Core.Where,Core.Yield
- Enclosing class:
Core
A step in a
from expression - where, group or
order.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Core.FromStepAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.booleanisOrdered(boolean inputIsOrdered) Returns whether the output of this step is ordered, given whether the input is ordered.(package private) final AstWriterprotected abstract AstWriterMethods inherited from class net.hydromatic.morel.ast.Core.BaseNode
accept
-
Field Details
-
env
-
-
Constructor Details
-
FromStep
FromStep(Op op, Core.StepEnv env)
-
-
Method Details
-
isOrdered
public boolean isOrdered(boolean inputIsOrdered) Returns whether the output of this step is ordered, given whether the input is ordered.For example,
Core.WhereandCore.Yieldare ordered if and only if their input is ordered;Core.Orderis always ordered;Core.Groupis unordered. -
unparse
-
unparse
-
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.- Overrides:
acceptin classCore.BaseNode
-