Package net.hydromatic.morel.ast
Class Core.SetStep
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.SetStep
- Direct Known Subclasses:
Core.Except,Core.Intersect,Core.Union
- Enclosing class:
Core
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableList<Core.Exp> final booleanFields inherited from class net.hydromatic.morel.ast.Core.FromStep
env -
Constructor Summary
ConstructorsConstructorDescriptionSetStep(Op op, Core.StepEnv env, boolean distinct, com.google.common.collect.ImmutableList<Core.Exp> args) -
Method Summary
Modifier and TypeMethodDescriptionabstract Core.SetStepcopy(boolean distinct, List<Core.Exp> args, 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
accept, unparseMethods inherited from class net.hydromatic.morel.ast.Core.BaseNode
accept
-
Field Details
-
distinct
public final boolean distinct -
args
-
-
Constructor Details
-
SetStep
SetStep(Op op, Core.StepEnv env, boolean distinct, com.google.common.collect.ImmutableList<Core.Exp> args)
-
-
Method Details
-
unparse
- Specified by:
unparsein classCore.FromStep
-
copy
-
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
-