public class GroupByDesc extends AbstractOperatorDesc
Modifier and Type | Class and Description |
---|---|
class |
GroupByDesc.GroupByOperatorExplainVectorization |
static class |
GroupByDesc.Mode
Mode.
|
colExprMap, memAvailable, memNeeded, opProps, opTraits, runtimeStatsTmpDir, statistics, vectorDesc, vectorMode
Constructor and Description |
---|
GroupByDesc() |
GroupByDesc(GroupByDesc.Mode mode,
ArrayList<String> outputColumnNames,
ArrayList<ExprNodeDesc> keys,
ArrayList<AggregationDesc> aggregators,
boolean bucketGroup,
float groupByMemoryUsage,
float memoryThreshold,
List<Long> listGroupingSets,
boolean groupingSetsPresent,
int groupingSetsPosition,
boolean isDistinct) |
GroupByDesc(GroupByDesc.Mode mode,
ArrayList<String> outputColumnNames,
ArrayList<ExprNodeDesc> keys,
ArrayList<AggregationDesc> aggregators,
float groupByMemoryUsage,
float memoryThreshold,
List<Long> listGroupingSets,
boolean groupingSetsPresent,
int groupingSetsPosition,
boolean isDistinct) |
fillSignature, getColumnExprMap, getColumnExprMapForExplain, getMaxMemoryAvailable, getMemoryNeeded, getOpProps, getRuntimeStatsTmpDir, getStatistics, getTraits, getUserLevelStatistics, getVectorDesc, getVectorMode, setColumnExprMap, setMaxMemoryAvailable, setMemoryNeeded, setOpProps, setRuntimeStatsTmpDir, setStatistics, setTraits, setVectorDesc, setVectorMode
public GroupByDesc()
public GroupByDesc(GroupByDesc.Mode mode, ArrayList<String> outputColumnNames, ArrayList<ExprNodeDesc> keys, ArrayList<AggregationDesc> aggregators, float groupByMemoryUsage, float memoryThreshold, List<Long> listGroupingSets, boolean groupingSetsPresent, int groupingSetsPosition, boolean isDistinct)
public GroupByDesc(GroupByDesc.Mode mode, ArrayList<String> outputColumnNames, ArrayList<ExprNodeDesc> keys, ArrayList<AggregationDesc> aggregators, boolean bucketGroup, float groupByMemoryUsage, float memoryThreshold, List<Long> listGroupingSets, boolean groupingSetsPresent, int groupingSetsPosition, boolean isDistinct)
public GroupByDesc.Mode getMode()
public String getModeString()
public void setMode(GroupByDesc.Mode mode)
public String getKeyString()
public String getUserLevelExplainKeyString()
public ArrayList<ExprNodeDesc> getKeys()
public void setKeys(ArrayList<ExprNodeDesc> keys)
public ArrayList<String> getUserLevelExplainOutputColumnNames()
public boolean pruneGroupingSetId()
public float getGroupByMemoryUsage()
public void setGroupByMemoryUsage(float groupByMemoryUsage)
public float getMemoryThreshold()
public void setMemoryThreshold(float memoryThreshold)
public ArrayList<AggregationDesc> getAggregators()
public void setAggregators(ArrayList<AggregationDesc> aggregators)
public boolean isAggregate()
public boolean getBucketGroup()
public void setBucketGroup(boolean bucketGroup)
public boolean isDistinctLike()
public boolean isGroupingSetsPresent()
public void setGroupingSetsPresent(boolean groupingSetsPresent)
public int getGroupingSetPosition()
public void setGroupingSetPosition(int groupingSetPosition)
public boolean isDontResetAggrsDistinct()
public void setDontResetAggrsDistinct(boolean dontResetAggrsDistinct)
public boolean isDistinct()
public void setDistinct(boolean isDistinct)
public Object clone()
clone
in interface OperatorDesc
clone
in class AbstractOperatorDesc
public GroupByDesc.GroupByOperatorExplainVectorization getGroupByVectorization()
public static String getComplexTypeEnabledCondition(boolean isVectorizationComplexTypesEnabled)
public static String getComplexTypeWithGroupByEnabledCondition(boolean isVectorizationComplexTypesEnabled, boolean isVectorizationGroupByComplexTypesEnabled)
public boolean isSame(OperatorDesc other)
AbstractOperatorDesc
Object.equals(Object)
. Intended to be
overridden by sub classes.isSame
in interface OperatorDesc
isSame
in class AbstractOperatorDesc
Copyright © 2022 The Apache Software Foundation. All rights reserved.