Package net.hydromatic.morel.ast
Class Core.Unorder
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.Unorder
- Enclosing class:
Core
Step that converts the stream to an unordered collection.
-
Field Summary
Fields inherited from class net.hydromatic.morel.ast.Core.FromStep
env -
Constructor Summary
Constructors -
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(Core.StepEnv env) booleanisOrdered(boolean inputIsOrdered) Returns whether the output of this step is ordered, given whether the input is ordered.protected AstWriterMethods inherited from class net.hydromatic.morel.ast.Core.FromStep
unparse
-
Constructor Details
-
Unorder
Unorder(Core.StepEnv env)
-
-
Method Details
-
isOrdered
public boolean isOrdered(boolean inputIsOrdered) Description copied from class:Core.FromStepReturns 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.- Overrides:
isOrderedin classCore.FromStep
-
unparse
- Specified by:
unparsein classCore.FromStep
-
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
-
copy
-