public class DistinctGroupbyNode extends UnaryNode implements Projectable, Cloneable
| Constructor and Description |
|---|
DistinctGroupbyNode(int pid) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
AggregationFunctionCallEval[] |
getAggFunctions() |
Column[] |
getFirstStageShuffleKeyColumns() |
GroupbyNode |
getGroupbyPlan() |
Column[] |
getGroupingColumns() |
PlanString |
getPlanString() |
int[] |
getResultColumnIds() |
List<GroupbyNode> |
getSubPlans() |
Target[] |
getTargets()
Get a list of targets
|
boolean |
hasTargets()
check if this node has a target list
|
boolean |
isEmptyGrouping() |
void |
setAggFunctions(AggregationFunctionCallEval[] evals) |
void |
setGroupbyPlan(GroupbyNode groupbyPlan) |
void |
setGroupingColumns(Column[] groupingColumns) |
void |
setResultColumnIds(int[] resultColumnIds) |
void |
setSubPlans(List<GroupbyNode> groupByNodes) |
void |
setTargets(Target[] targets)
Set a target list
|
String |
toString() |
childNum, deepEquals, getChild, getChild, postOrder, preOrder, setChildgetCost, getInSchema, getOutSchema, getPID, getType, setCost, setInSchema, setOutSchema, setPID, setType, toJsonfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInSchema, getOutSchema, getPIDpublic boolean hasTargets()
ProjectablehasTargets in interface Projectablepublic void setTargets(Target[] targets)
ProjectablesetTargets in interface Projectabletargets - The array of targetspublic Target[] getTargets()
ProjectablegetTargets in interface Projectablepublic void setSubPlans(List<GroupbyNode> groupByNodes)
public List<GroupbyNode> getSubPlans()
public final Column[] getGroupingColumns()
public final void setGroupingColumns(Column[] groupingColumns)
public int[] getResultColumnIds()
public void setResultColumnIds(int[] resultColumnIds)
public AggregationFunctionCallEval[] getAggFunctions()
public void setAggFunctions(AggregationFunctionCallEval[] evals)
public void setGroupbyPlan(GroupbyNode groupbyPlan)
public GroupbyNode getGroupbyPlan()
public Object clone() throws CloneNotSupportedException
clone in class UnaryNodeCloneNotSupportedExceptionpublic final boolean isEmptyGrouping()
public String toString()
toString in class LogicalNodepublic boolean equals(Object obj)
equals in class LogicalNodepublic PlanString getPlanString()
getPlanString in class LogicalNodepublic Column[] getFirstStageShuffleKeyColumns()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.