| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
CreateMacroDesc.getBody() |
| Constructor and Description |
|---|
CreateMacroDesc(String macroName,
List<String> columnNames,
List<TypeInfo> columnTypes,
ExprNodeDesc body) |
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeGenericFuncDesc |
PartitionUtils.makeBinaryPredicate(String fn,
ExprNodeDesc left,
ExprNodeDesc right) |
static ExprNodeGenericFuncDesc |
PartitionUtils.makeUnaryPredicate(String fn,
ExprNodeDesc arg) |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
ShowPartitionsDesc.getCond() |
| Constructor and Description |
|---|
ShowPartitionsDesc(String tabName,
org.apache.hadoop.fs.Path resFile,
Map<String,String> partSpec,
ExprNodeDesc condition,
String order,
short limit) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExprNodeEvaluator<T extends ExprNodeDesc>
ExprNodeEvaluator.
|
| Modifier and Type | Field and Description |
|---|---|
protected T |
ExprNodeEvaluator.expr |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ExprNodeDesc> |
Operator.getColumnExprMap()
Returns a map of output column name to input expression map Note that
currently it returns only key columns for ReduceSink and GroupBy operators.
|
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeEvaluator |
ExprNodeEvaluatorFactory.get(ExprNodeDesc desc) |
static ExprNodeEvaluator |
ExprNodeEvaluatorFactory.get(ExprNodeDesc desc,
org.apache.hadoop.conf.Configuration conf) |
static boolean |
FunctionRegistry.isIn(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "in".
|
static boolean |
FunctionRegistry.isOpAnd(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "and".
|
static boolean |
FunctionRegistry.isOpAndOrNot(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "and", "or", "not".
|
static boolean |
FunctionRegistry.isOpBetween(ExprNodeDesc desc) |
static boolean |
FunctionRegistry.isOpCast(ExprNodeDesc desc)
Returns whether the exprNodeDesc is node of "cast".
|
static boolean |
FunctionRegistry.isOpInBloomFilter(ExprNodeDesc desc) |
static boolean |
FunctionRegistry.isOpNegative(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "negative".
|
static boolean |
FunctionRegistry.isOpNot(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "not".
|
static boolean |
FunctionRegistry.isOpOr(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "or".
|
static boolean |
FunctionRegistry.isOpPositive(ExprNodeDesc desc)
Returns whether the exprNodeDesc is a node of "positive".
|
static boolean |
FunctionRegistry.isOpPreserveInputName(ExprNodeDesc desc)
Returns whether the exprNodeDesc can recommend name for the expression
|
FunctionInfo |
Registry.registerMacro(String macroName,
ExprNodeDesc body,
List<String> colNames,
List<TypeInfo> colTypes) |
FunctionInfo |
Registry.registerMacro(String macroName,
ExprNodeDesc body,
List<String> colNames,
List<TypeInfo> colTypes,
FunctionInfo.FunctionResource... resources) |
static void |
FunctionRegistry.registerTemporaryMacro(String macroName,
ExprNodeDesc body,
List<String> colNames,
List<TypeInfo> colTypes)
Registers the appropriate kind of temporary function based on a class's
type.
|
| Modifier and Type | Method and Description |
|---|---|
static Operator<? extends OperatorDesc> |
OperatorUtils.findSourceRS(Operator<?> start,
List<ExprNodeDesc> exprs)
This method backtracks the given expressions to the source RS.
|
static <T extends OperatorDesc> |
OperatorFactory.getAndMakeChild(CompilationOpContext cContext,
T conf,
RowSchema rwsch,
Map<String,ExprNodeDesc> colExprMap,
List<Operator<? extends OperatorDesc>> oplist)
Returns an operator given the conf and a list of parent operators.
|
static <T extends OperatorDesc> |
OperatorFactory.getAndMakeChild(T conf,
RowSchema rwsch,
Map<String,ExprNodeDesc> colExprMap,
Operator oplist0,
Operator... oplist)
Returns an operator given the conf and a list of parent operators.
|
static int |
JoinUtil.populateJoinKeyValue(List<ExprNodeEvaluator>[] outMap,
Map<Byte,List<ExprNodeDesc>> inputMap,
Byte[] order,
int posBigTableAlias,
org.apache.hadoop.conf.Configuration conf) |
static int |
JoinUtil.populateJoinKeyValue(List<ExprNodeEvaluator>[] outMap,
Map<Byte,List<ExprNodeDesc>> inputMap,
int posBigTableAlias,
org.apache.hadoop.conf.Configuration conf) |
void |
Operator.setColumnExprMap(Map<String,ExprNodeDesc> colExprMap) |
| Constructor and Description |
|---|
Handler(ObjectInspector inputObjInspector,
List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
Integer tag) |
Handler(ObjectInspector inputObjInspector,
List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
Integer tag) |
| Modifier and Type | Method and Description |
|---|---|
protected ExprNodeDesc |
DynamicPartitionPruner.prunePartitionSingleSource(org.apache.hadoop.mapred.JobConf jobConf,
String source,
org.apache.hadoop.hive.ql.exec.tez.DynamicPartitionPruner.SourceInfo si) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hive.ql.exec.tez.DynamicPartitionPruner.SourceInfo |
DynamicPartitionPruner.createSourceInfo(TableDesc t,
ExprNodeDesc partKeyExpr,
ExprNodeDesc predicate,
String columnName,
String columnType,
org.apache.hadoop.mapred.JobConf jobConf) |
| Modifier and Type | Method and Description |
|---|---|
VectorExpression |
VectorizationContext.getVectorExpression(ExprNodeDesc exprDesc) |
VectorExpression |
VectorizationContext.getVectorExpression(ExprNodeDesc exprDesc,
VectorExpressionDescriptor.Mode mode)
Returns a vector expression for a given expression
description.
|
| Modifier and Type | Method and Description |
|---|---|
VectorExpression[] |
VectorizationContext.getVectorExpressions(List<ExprNodeDesc> exprNodes) |
VectorExpression[] |
VectorizationContext.getVectorExpressions(List<ExprNodeDesc> exprNodes,
VectorExpressionDescriptor.Mode mode) |
VectorExpression[] |
VectorizationContext.getVectorExpressionsUpConvertDecimal64(List<ExprNodeDesc> exprNodes) |
| Modifier and Type | Method and Description |
|---|---|
static VectorExpressionWriter |
VectorExpressionWriterFactory.genVectorExpressionWritable(ExprNodeDesc nodeDesc)
Compiles the appropriate vector expression writer based on an expression info (ExprNodeDesc)
|
| Modifier and Type | Method and Description |
|---|---|
static VectorExpressionWriter[] |
VectorExpressionWriterFactory.getExpressionWriters(List<ExprNodeDesc> nodesDesc)
Helper function to create an array of writers from a list of expression descriptors.
|
static void |
VectorExpressionWriterFactory.processVectorExpressions(List<ExprNodeDesc> nodesDesc,
List<String> columnNames,
VectorExpressionWriterFactory.SingleOIDClosure closure)
Creates the value writers for a column vector expression list.
|
static void |
VectorExpressionWriterFactory.processVectorExpressions(List<ExprNodeDesc> nodesDesc,
VectorExpressionWriterFactory.ListOIDClosure closure)
Creates the value writers for a column vector expression list.
|
void |
StructColumnInList.setStructColumnExprs(VectorizationContext vContext,
List<ExprNodeDesc> structColumnExprs,
ColumnVector.Type[] fieldVectorColumnTypes) |
void |
FilterStructColumnInList.setStructColumnExprs(VectorizationContext vContext,
List<ExprNodeDesc> structColumnExprs,
ColumnVector.Type[] fieldVectorColumnTypes) |
void |
IStructInExpr.setStructColumnExprs(VectorizationContext vContext,
List<ExprNodeDesc> structColumnExprs,
ColumnVector.Type[] fieldVectorColumnTypes) |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
IndexPredicateAnalyzer.analyzePredicate(ExprNodeDesc predicate,
List<IndexSearchCondition> searchConditions)
Deprecated.
Analyzes a predicate.
|
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
IndexPredicateAnalyzer.analyzePredicate(ExprNodeDesc predicate,
List<IndexSearchCondition> searchConditions)
Deprecated.
Analyzes a predicate.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
HiveStorageHandler.addDynamicSplitPruningEdge(Table table,
ExprNodeDesc syntheticFilterPredicate)
Test if the storage handler allows the push-down of join filter predicate to prune further the splits.
|
HiveStoragePredicateHandler.DecomposedPredicate |
HiveStoragePredicateHandler.decomposePredicate(org.apache.hadoop.mapred.JobConf jobConf,
Deserializer deserializer,
ExprNodeDesc predicate)
Gives the storage handler a chance to decompose a predicate.
|
boolean |
Hive.getPartitionsByExpr(Table tbl,
ExprNodeDesc expr,
HiveConf conf,
List<Partition> partitions)
Get a list of Partitions by expr.
|
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
ConstantPropagateProcFactory.foldExpr(ExprNodeGenericFuncDesc funcDesc) |
protected abstract ExprNodeDesc |
PrunerExpressionOperatorFactory.ColumnExprProcessor.processColumnDesc(NodeProcessorCtx procCtx,
ExprNodeColumnDesc cd)
Process column desc.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Byte,List<ExprNodeDesc>> |
SortBucketJoinProcCtx.getKeyExprMap() |
static org.apache.commons.lang3.tuple.Pair<List<ReduceSinkOperator>,Map<Byte,List<ExprNodeDesc>>> |
MapJoinProcessor.getKeys(boolean leftInputJoin,
String[] baseSrc,
JoinOperator op) |
Map<Operator<? extends Serializable>,Map<ColumnInfo,ExprNodeDesc>> |
ConstantPropagateProcCtx.getOpToConstantExprs() |
Map<ColumnInfo,ExprNodeDesc> |
ConstantPropagateProcCtx.getPropagatedConstants(Operator<? extends Serializable> op)
Get propagated constant map from parents.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrunerOperatorFactory.FilterPruner.addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred)
Add pruning predicate.
|
protected void |
PrunerOperatorFactory.FilterPruner.addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred,
Partition part)
Add pruning predicate.
|
static Map<Node,Object> |
PrunerUtils.walkExprTree(ExprNodeDesc pred,
NodeProcessorCtx ctx,
SemanticNodeProcessor colProc,
SemanticNodeProcessor fieldProc,
SemanticNodeProcessor genFuncProc,
SemanticNodeProcessor defProc)
Walk expression tree for pruner generation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrunerOperatorFactory.FilterPruner.addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred)
Add pruning predicate.
|
protected void |
PrunerOperatorFactory.FilterPruner.addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred,
Partition part)
Add pruning predicate.
|
protected boolean |
AbstractBucketJoinProc.checkConvertBucketMapJoin(BucketJoinProcCtx context,
Map<String,Operator<? extends OperatorDesc>> aliasToOpInfo,
Map<Byte,List<ExprNodeDesc>> keysMap,
String baseBigAlias,
List<String> joinAliases) |
void |
SortBucketJoinProcCtx.setKeyExprMap(Map<Byte,List<ExprNodeDesc>> keyExprMap) |
static List<String> |
AbstractBucketJoinProc.toColumns(List<ExprNodeDesc> keys) |
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
HiveCalciteUtil.getExprNode(Integer inputRefIndx,
org.apache.calcite.rel.RelNode inputRel,
ExprNodeConverter exprConv) |
| Modifier and Type | Method and Description |
|---|---|
static List<ExprNodeDesc> |
HiveCalciteUtil.getExprNodes(List<Integer> inputRefs,
org.apache.calcite.rel.RelNode inputRel,
String inputTabAlias) |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc[] |
HiveSortExchange.getKeyExpressions() |
| Modifier and Type | Method and Description |
|---|---|
void |
HiveSortExchange.setKeyExpressions(ExprNodeDesc[] keyExpressions) |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
ExprNodeConverter.visitCall(org.apache.calcite.rex.RexCall call) |
ExprNodeDesc |
ExprNodeConverter.visitFieldAccess(org.apache.calcite.rex.RexFieldAccess fieldAccess)
TODO: Handle 1) cast 2), Windowing Agg Call
|
ExprNodeDesc |
ExprNodeConverter.visitInputRef(org.apache.calcite.rex.RexInputRef inputRef) |
ExprNodeDesc |
ExprNodeConverter.visitLiteral(org.apache.calcite.rex.RexLiteral literal) |
ExprNodeDesc |
ExprNodeConverter.visitOver(org.apache.calcite.rex.RexOver over) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rex.RexNode |
RexNodeConverter.convert(ExprNodeDesc expr) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
CorrelationUtilities.getColumnName(Map<String,ExprNodeDesc> opColumnExprMap,
ExprNodeDesc expr) |
protected static int |
CorrelationUtilities.indexOf(ExprNodeDesc cexpr,
ExprNodeDesc[] pexprs,
Operator child,
Operator[] parents,
boolean[] sorted) |
protected static int |
CorrelationUtilities.indexOf(ExprNodeDesc cexpr,
ExprNodeDesc[] pexprs,
Operator child,
Operator[] parents,
boolean[] sorted) |
protected static boolean |
CorrelationUtilities.isExisted(ExprNodeDesc expr,
List<ExprNodeDesc> columns) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
CorrelationUtilities.getColumnName(Map<String,ExprNodeDesc> opColumnExprMap,
ExprNodeDesc expr) |
protected static boolean |
CorrelationUtilities.isExisted(ExprNodeDesc expr,
List<ExprNodeDesc> columns) |
protected static Integer |
ReduceSinkDeDuplicationUtils.sameKeys(List<ExprNodeDesc> cexprs,
List<ExprNodeDesc> pexprs,
Operator<?> child,
Operator<?> parent) |
protected static Integer |
ReduceSinkDeDuplicationUtils.sameKeys(List<ExprNodeDesc> cexprs,
List<ExprNodeDesc> pexprs,
Operator<?> child,
Operator<?> parent) |
| Modifier and Type | Method and Description |
|---|---|
static LineageInfo.Dependency |
ExprProcFactory.getExprDependency(LineageCtx lctx,
Operator<? extends OperatorDesc> inpOp,
ExprNodeDesc expr)
Gets the expression dependencies for the expression.
|
static LineageInfo.Dependency |
ExprProcFactory.getExprDependency(LineageCtx lctx,
Operator<? extends OperatorDesc> inpOp,
ExprNodeDesc expr,
HashMap<Node,Object> outputMap)
Gets the expression dependencies for the expression.
|
static String |
ExprProcFactory.getExprString(RowSchema rs,
ExprNodeDesc expr,
LineageCtx lctx,
Operator<? extends OperatorDesc> inpOp,
LineageInfo.Predicate cond)
Get the expression string of an expression node.
|
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
LBExprProcFactory.genPruner(String tabAlias,
ExprNodeDesc pred,
Partition part)
Generates the list bucketing pruner for the expression tree.
|
protected ExprNodeDesc |
LBExprProcFactory.LBPRColumnExprProcessor.processColumnDesc(NodeProcessorCtx procCtx,
ExprNodeColumnDesc cd) |
| Modifier and Type | Method and Description |
|---|---|
Map<TableScanOperator,Map<String,ExprNodeDesc>> |
LBOpWalkerCtx.getOpToPartToLBPruner() |
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
LBExprProcFactory.genPruner(String tabAlias,
ExprNodeDesc pred,
Partition part)
Generates the list bucketing pruner for the expression tree.
|
static org.apache.hadoop.fs.Path[] |
ListBucketingPruner.prune(ParseContext ctx,
Partition part,
ExprNodeDesc pruner)
Prunes to the directories which match the skewed keys in where clause.
|
| Constructor and Description |
|---|
LBOpWalkerCtx(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPartToLBPruner,
Partition part)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
ExprNodeDesc |
PcrExprProcFactory.NodeInfoWrapper.outExpr |
| Modifier and Type | Method and Description |
|---|---|
static PcrExprProcFactory.NodeInfoWrapper |
PcrExprProcFactory.walkExprTree(String tabAlias,
ArrayList<Partition> parts,
List<VirtualColumn> vcs,
ExprNodeDesc pred)
Remove partition conditions when necessary from the the expression tree.
|
| Constructor and Description |
|---|
NodeInfoWrapper(PcrExprProcFactory.WalkState state,
Boolean[] resultVector,
ExprNodeDesc outExpr) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.lang3.tuple.ImmutablePair<VectorAggregationDesc,String> |
Vectorizer.getVectorAggregationDesc(String aggregationName,
List<ExprNodeDesc> parameterList,
GenericUDAFEvaluator evaluator,
TypeInfo outputTypeInfo,
GenericUDAFEvaluator.Mode udafEvaluatorMode,
VectorizationContext vContext) |
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
ExprProcFactory.genPruner(String tabAlias,
ExprNodeDesc pred)
Generates the partition pruner for the expression tree.
|
protected ExprNodeDesc |
ExprProcFactory.PPRColumnExprProcessor.processColumnDesc(NodeProcessorCtx procCtx,
ExprNodeColumnDesc cd) |
| Modifier and Type | Method and Description |
|---|---|
Map<TableScanOperator,ExprNodeDesc> |
OpWalkerCtx.getOpToPartPruner() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
PartExprEvalUtils.evalExprWithPart(ExprNodeDesc expr,
Partition p,
List<VirtualColumn> vcs,
StructObjectInspector rowObjectInspector)
Evaluate expression with partition columns
|
static ExprNodeDesc |
ExprProcFactory.genPruner(String tabAlias,
ExprNodeDesc pred)
Generates the partition pruner for the expression tree.
|
static boolean |
PartitionPruner.hasColumnExpr(ExprNodeDesc desc)
Whether the expression contains a column node or not.
|
static boolean |
PartitionPruner.onlyContainsPartnCols(Table tab,
ExprNodeDesc expr)
Find out whether the condition only contains partitioned columns.
|
static org.apache.commons.lang3.tuple.Pair<PrimitiveObjectInspector,ExprNodeEvaluator> |
PartExprEvalUtils.prepareExpr(ExprNodeDesc expr,
List<String> partColumnNames,
List<PrimitiveTypeInfo> partColumnTypeInfos) |
static PrunedPartitionList |
PartitionPruner.prune(Table tab,
ExprNodeDesc prunerExpr,
HiveConf conf,
String alias,
Map<String,PrunedPartitionList> prunedPartitionsMap)
Get the partition list for the table that satisfies the partition pruner
condition.
|
static boolean |
PartitionPruner.prunePartitionNames(List<String> partColumnNames,
List<PrimitiveTypeInfo> partColumnTypeInfos,
ExprNodeDesc prunerExpr,
String defaultPartitionName,
List<String> partNames)
Prunes partition names to see if they match the prune expression.
|
| Constructor and Description |
|---|
OpWalkerCtx(Map<TableScanOperator,ExprNodeDesc> opToPartPruner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
StatsRulesProcFactory.FilterStatsRule.evaluateExpression(Statistics stats,
ExprNodeDesc pred,
AnnotateStatsProcCtx aspCtx,
List<String> neededCols,
Operator<?> op,
long currNumRows) |
| Modifier and Type | Method and Description |
|---|---|
List<ExprNodeDesc> |
CommonKeyPrefix.getMappedColumns() |
| Modifier and Type | Method and Description |
|---|---|
void |
CommonKeyPrefix.add(ExprNodeDesc column,
char order,
char nullOrder) |
| Modifier and Type | Method and Description |
|---|---|
static CommonKeyPrefix |
CommonKeyPrefix.map(List<ExprNodeDesc> opKeys,
String opOrder,
String opNullOrder,
List<ExprNodeDesc> parentKeys,
Map<String,ExprNodeDesc> parentColExprMap,
String parentOrder,
String parentNullOrder)
General factory method to map two operator keys.
|
static CommonKeyPrefix |
CommonKeyPrefix.map(List<ExprNodeDesc> opKeys,
String opOrder,
String opNullOrder,
List<ExprNodeDesc> parentKeys,
Map<String,ExprNodeDesc> parentColExprMap,
String parentOrder,
String parentNullOrder)
General factory method to map two operator keys.
|
static CommonKeyPrefix |
CommonKeyPrefix.map(List<ExprNodeDesc> opKeys,
String opOrder,
String opNullOrder,
List<ExprNodeDesc> parentKeys,
Map<String,ExprNodeDesc> parentColExprMap,
String parentOrder,
String parentNullOrder)
General factory method to map two operator keys.
|
static CommonKeyPrefix |
CommonKeyPrefix.map(List<ExprNodeDesc> opKeys,
String opOrder,
String opNullOrder,
List<ExprNodeDesc> parentKeys,
String parentOrder,
String parentNullOrder) |
static CommonKeyPrefix |
CommonKeyPrefix.map(List<ExprNodeDesc> opKeys,
String opOrder,
String opNullOrder,
List<ExprNodeDesc> parentKeys,
String parentOrder,
String parentNullOrder) |
| Modifier and Type | Field and Description |
|---|---|
ExprNodeDesc |
GenTezUtils.DynamicListContext.grandParent |
ExprNodeDesc |
GenTezUtils.DynamicListContext.parent |
| Modifier and Type | Field and Description |
|---|---|
List<ExprNodeDesc> |
SemanticAnalyzer.GenericUDAFInfo.convertedParameters |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
SemanticAnalyzer.genExprNodeDesc(ASTNode expr,
RowResolver input)
Generates an expression node descriptor for the expression with TypeCheckCtx.
|
ExprNodeDesc |
GenTezUtils.DynamicListContext.getKeyCol() |
static ExprNodeDesc |
SemanticAnalyzer.isConstantParameterInAggregationParameters(String internalName,
List<ExprNodeDesc> reduceValues)
Check if the given internalName represents a constant parameter in aggregation parameters
of an aggregation tree.
|
| Modifier and Type | Method and Description |
|---|---|
List<ExprNodeDesc> |
RuntimeValuesInfo.getColExprs() |
Map<ExprNodeDesc,GroupByOperator> |
ParseContext.getColExprToGBMap() |
Map<TableScanOperator,ExprNodeDesc> |
ParseContext.getOpToPartPruner() |
Map<TableScanOperator,Map<String,ExprNodeDesc>> |
ParseContext.getOpToPartToSkewedPruner() |
List<ExprNodeDesc> |
RuntimeValuesInfo.getTargetColumns() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenTezUtils.DynamicPartitionPrunerContext.addDynamicList(ExprNodeDynamicListDesc desc,
ExprNodeDesc parent,
ExprNodeDesc grandParent,
ReduceSinkOperator generator) |
void |
LeadLagInfo.addLLFuncExprForTopExpr(ExprNodeDesc topExpr,
ExprNodeGenericFuncDesc llFuncExpr) |
static Map<Node,Object> |
GenTezUtils.collectDynamicPruningConditions(ExprNodeDesc pred,
NodeProcessorCtx ctx) |
static ExprNodeEvaluator |
WindowingExprNodeEvaluatorFactory.get(LeadLagInfo llInfo,
ExprNodeDesc desc) |
List<ExprNodeGenericFuncDesc> |
LeadLagInfo.getLLFuncExprsInTopExpr(ExprNodeDesc topExpr) |
| Modifier and Type | Method and Description |
|---|---|
static GenericUDAFEvaluator |
SemanticAnalyzer.getGenericUDAFEvaluator(String aggName,
List<ExprNodeDesc> aggParameters,
ASTNode aggTree,
boolean isDistinct,
boolean isAllColumns)
Returns the GenericUDAFEvaluator for the aggregation.
|
static SemanticAnalyzer.GenericUDAFInfo |
SemanticAnalyzer.getGenericUDAFInfo(GenericUDAFEvaluator evaluator,
GenericUDAFEvaluator.Mode emode,
List<ExprNodeDesc> aggParameters)
Returns the GenericUDAFInfo struct for the aggregation.
|
static ExprNodeDesc |
SemanticAnalyzer.isConstantParameterInAggregationParameters(String internalName,
List<ExprNodeDesc> reduceValues)
Check if the given internalName represents a constant parameter in aggregation parameters
of an aggregation tree.
|
void |
RuntimeValuesInfo.setColExprs(List<ExprNodeDesc> colExprs) |
void |
ParseContext.setColExprToGBMap(Map<ExprNodeDesc,GroupByOperator> colExprToGBMap) |
void |
ParseContext.setOpPartToSkewedPruner(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPartToSkewedPruner) |
void |
ParseContext.setOpToPartPruner(Map<TableScanOperator,ExprNodeDesc> opToPartPruner) |
void |
RuntimeValuesInfo.setTargetColumns(List<ExprNodeDesc> targetColumns) |
| Constructor and Description |
|---|
DynamicListContext(ExprNodeDynamicListDesc desc,
ExprNodeDesc parent,
ExprNodeDesc grandParent,
ReduceSinkOperator generator) |
| Modifier and Type | Method and Description |
|---|---|
protected ExprNodeDesc |
ExprNodeDescExprFactory.createStructExpr(TypeInfo typeInfo,
List<ExprNodeDesc> operands)
Creates a struct with given type.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.createSubqueryExpr(TypeCheckCtx ctx,
ASTNode expr,
SubqueryType subqueryType,
Object[] inputs)
Creates subquery expression.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.foldExpr(ExprNodeDesc expr)
Folds the input expression and returns resulting expression.
|
static ExprNodeDesc |
ExprNodeTypeCheck.genConstraintsExpr(HiveConf conf,
Table targetTable,
boolean updateStatement,
RowResolver inputRR) |
protected ExprNodeDesc |
ExprNodeDescExprFactory.replaceFieldNamesInStruct(ExprNodeDesc expr,
List<String> newFieldNames) |
protected ExprNodeDesc |
ExprNodeDescExprFactory.setTypeInfo(ExprNodeDesc expr,
TypeInfo type)
Changes the type of the input expression to the input type and
returns resulting expression.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.toExpr(ColumnInfo colInfo,
RowResolver rowResolver,
int offset)
Generates an expression from the input column.
|
static ExprNodeDesc |
ExprNodeTypeCheck.toExprNode(ColumnInfo columnInfo,
RowResolver rowResolver)
Transforms column information into the corresponding Hive ExprNode.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<ASTNode,ExprNodeDesc> |
ExprNodeTypeCheck.genExprNode(ASTNode expr,
TypeCheckCtx tcCtx)
Given an AST expression and a context, it will produce a map from AST nodes
to Hive ExprNode.
|
static Map<ASTNode,ExprNodeDesc> |
ExprNodeTypeCheck.genExprNodeJoinCond(ASTNode expr,
TypeCheckCtx tcCtx)
Given an AST join expression and a context, it will produce a map from AST nodes
to Hive ExprNode.
|
protected List<ExprNodeDesc> |
ExprNodeDescExprFactory.getExprChildren(ExprNodeDesc expr)
Returns the children from the input expression (if any).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ExprNodeDescExprFactory.addExprToExprsList(ExprNodeDesc columnList,
ExprNodeDesc expr)
Adds expression to list of expressions (list needs to be
mutable).
|
protected ExprNodeFieldDesc |
ExprNodeDescExprFactory.createNestedColumnRefExpr(TypeInfo typeInfo,
ExprNodeDesc expr,
String fieldName,
Boolean isList)
Creates a reference to a nested field.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.foldExpr(ExprNodeDesc expr)
Folds the input expression and returns resulting expression.
|
protected String |
ExprNodeDescExprFactory.getColumnName(ExprNodeDesc expr,
RowResolver rowResolver)
Returns column name referenced by a column expression.
|
protected Object |
ExprNodeDescExprFactory.getConstantValue(ExprNodeDesc expr)
Returns value stored in a constant expression.
|
protected String |
ExprNodeDescExprFactory.getConstantValueAsString(ExprNodeDesc expr)
Returns value stored in a constant expression as String.
|
protected List<ExprNodeDesc> |
ExprNodeDescExprFactory.getExprChildren(ExprNodeDesc expr)
Returns the children from the input expression (if any).
|
protected List<String> |
ExprNodeDescExprFactory.getStructNameList(ExprNodeDesc expr)
Returns the list of names in the input struct expression.
|
protected List<TypeInfo> |
ExprNodeDescExprFactory.getStructTypeInfoList(ExprNodeDesc expr)
Returns the list of types in the input struct expression.
|
protected TypeInfo |
ExprNodeDescExprFactory.getTypeInfo(ExprNodeDesc expr)
Returns the type for the input expression.
|
protected boolean |
ExprNodeDescExprFactory.isANDFuncCallExpr(ExprNodeDesc expr)
Returns whether the input expression is an AND function call.
|
protected boolean |
ExprNodeDescExprFactory.isConstantStruct(ExprNodeDesc expr)
Returns whether the input expression is a struct of
constant expressions (all of them).
|
protected boolean |
ExprNodeDescExprFactory.isNEGATIVEFuncCallExpr(ExprNodeDesc expr)
Returns whether the input expression is a NEGATIVE function call.
|
protected boolean |
ExprNodeDescExprFactory.isORFuncCallExpr(ExprNodeDesc expr)
Returns whether the input expression is an OR function call.
|
protected boolean |
ExprNodeDescExprFactory.isPOSITIVEFuncCallExpr(ExprNodeDesc expr)
Returns whether the input expression is a POSITIVE function call.
|
protected boolean |
ExprNodeDescExprFactory.isSTRUCTFuncCallExpr(ExprNodeDesc expr)
Returns whether the input expression is a STRUCT function call.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.replaceFieldNamesInStruct(ExprNodeDesc expr,
List<String> newFieldNames) |
protected ExprNodeDesc |
ExprNodeDescExprFactory.setTypeInfo(ExprNodeDesc expr,
TypeInfo type)
Changes the type of the input expression to the input type and
returns resulting expression.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ExprNodeDescExprFactory.convertCASEIntoCOALESCEFuncCallExpr(FunctionInfo fi,
List<ExprNodeDesc> inputs)
Returns true if a CASE expression can be converted into a COALESCE function call.
|
protected boolean |
ExprNodeDescExprFactory.convertCASEIntoIFFuncCallExpr(FunctionInfo fi,
List<ExprNodeDesc> inputs) |
protected ExprNodeGenericFuncDesc |
ExprNodeDescExprFactory.createFuncCallExpr(TypeInfo typeInfo,
FunctionInfo fi,
String funcText,
List<ExprNodeDesc> inputs)
Creates function call expression.
|
protected ExprNodeDesc |
ExprNodeDescExprFactory.createStructExpr(TypeInfo typeInfo,
List<ExprNodeDesc> operands)
Creates a struct with given type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExprDynamicParamDesc
An expression representing dynamic parameter.
|
class |
ExprNodeColumnDesc
ExprNodeColumnDesc.
|
class |
ExprNodeColumnListDesc
Dummy desc only for populating TOK_ALLCOLREF and should not be used
outside of TypeCheckProcFactory
|
class |
ExprNodeConstantDesc
A constant expression.
|
class |
ExprNodeDynamicListDesc
This expression represents a list that will be available at runtime.
|
class |
ExprNodeDynamicValueDesc
This expression represents a value that will be available at runtime.
|
class |
ExprNodeFieldDesc
ExprNodeFieldDesc.
|
class |
ExprNodeGenericFuncDesc
Describes a GenericFunc node.
|
class |
ExprNodeSubQueryDesc
This encapsulate subquery expression which consists of
Relnode for subquery.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ExprNodeDesc> |
AbstractOperatorDesc.colExprMap
A map of output column name to input expression map.
|
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal) |
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr) |
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr,
boolean stayInSameVertex) |
abstract ExprNodeDesc |
ExprNodeDesc.clone() |
ExprNodeDesc |
ExprNodeColumnListDesc.clone() |
ExprNodeDesc |
ExprNodeDynamicValueDesc.clone() |
ExprNodeDesc |
ExprNodeFieldDesc.clone() |
ExprNodeDesc |
ExprNodeSubQueryDesc.clone() |
ExprNodeDesc |
ExprDynamicParamDesc.clone() |
ExprNodeDesc |
ExprNodeGenericFuncDesc.clone() |
ExprNodeDesc |
ExprNodeDynamicListDesc.clone() |
ExprNodeDesc |
ExprNodeConstantDesc.clone() |
ExprNodeDesc |
ExprNodeColumnDesc.clone() |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(ExprNodeDesc node1,
ExprNodeDesc node2) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(List<ExprNodeDesc> inputExpr) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(List<ExprNodeDesc> nodes,
ExprNodeDesc exprNode) |
static ExprNodeDesc |
ExprNodeDescUtils.disjunction(ExprNodeDesc e1,
ExprNodeDesc e2) |
static ExprNodeDesc |
ExprNodeDescUtils.disjunction(List<ExprNodeDesc> operands) |
static ExprNodeDesc[] |
ExprNodeDescUtils.extractComparePair(ExprNodeDesc expr1,
ExprNodeDesc expr2) |
static ExprNodeDesc |
ExprNodeDescUtils.findConstantExprOrigin(String dpCol,
Operator<? extends OperatorDesc> op) |
static ExprNodeDesc |
ExprNodeDescUtils.flattenExpr(ExprNodeDesc source)
A normal reduce operator's rowObjectInspector looks like a struct containing
nested key/value structs that contain the column values:
{ key: { reducesinkkey0:int }, value: { _col0:int, _col1:int, ..
|
ExprNodeDesc |
ExprNodeFieldDesc.getDesc() |
ExprNodeDesc |
ExprNodeDesc.ExprNodeDescEqualityWrapper.getExprNodeDesc() |
ExprNodeDesc[][] |
JoinDesc.getJoinKeys() |
ExprNodeDesc[] |
VectorPTFDesc.getOrderExprNodeDescs() |
ExprNodeDesc[] |
VectorPTFDesc.getPartitionExprNodeDescs() |
ExprNodeDesc |
DynamicPruningEventDesc.getPartKey() |
ExprNodeDesc |
FilterDesc.getPredicate() |
ExprNodeDesc |
DynamicPruningEventDesc.getPredicate() |
ExprNodeDesc |
ExprNodeSubQueryDesc.getSubQueryLhs() |
ExprNodeDesc |
ExprNodeDynamicListDesc.getTarget() |
static ExprNodeDesc |
ExprNodeDescUtils.mergePredicates(List<ExprNodeDesc> exprs)
bind n predicates by AND op
|
static ExprNodeDesc |
ExprNodeDescUtils.replace(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
List<ExprNodeDesc> targets) |
static ExprNodeDesc |
ExprNodeDescUtils.replaceTabAlias(ExprNodeDesc expr,
String oldAlias,
String newAlias) |
static ExprNodeDesc |
ExprNodeDescUtils.resolveJoinKeysAsRSColumns(ExprNodeDesc source,
Operator<?> reduceSinkOp)
Join keys are expressions based on the select operator.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal)
Convert expressions in current operator to those in terminal operator, which
is an ancestor of current or null (back to top operator).
|
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr) |
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr,
boolean stayInSameVertex) |
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.clone(List<ExprNodeDesc> sources) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.flattenExprList(List<ExprNodeDesc> sourceList) |
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.genExprNodeDesc(Operator inputOp,
int startPos,
int endPos,
boolean addEmptyTabAlias,
boolean setColToNonVirtual)
Build ExprNodeColumnDesc for the projections in the input operator from
sartpos to endpos(both included).
|
List<ExprNodeDesc> |
ReduceSinkDesc.getBucketCols() |
List<ExprNodeDesc> |
ExprNodeDesc.getChildren() |
List<ExprNodeDesc> |
ExprNodeColumnListDesc.getChildren() |
List<ExprNodeDesc> |
ExprNodeFieldDesc.getChildren() |
List<ExprNodeDesc> |
ExprNodeGenericFuncDesc.getChildren() |
List<ExprNodeDesc> |
SelectDesc.getColList() |
Map<String,ExprNodeDesc> |
OperatorDesc.getColumnExprMap() |
Map<String,ExprNodeDesc> |
AbstractOperatorDesc.getColumnExprMap() |
List<Function<List<ExprNodeDesc>,ExprNodeDesc>> |
DynamicPartitionCtx.getCustomSortExpressions() |
List<Function<List<ExprNodeDesc>,ExprNodeDesc>> |
DynamicPartitionCtx.getCustomSortExpressions() |
Map<String,List<ExprNodeDesc>> |
MapWork.getEventSourcePartKeyExprMap() |
Map<String,List<ExprNodeDesc>> |
MapWork.getEventSourcePredicateExprMap() |
Map<Byte,List<ExprNodeDesc>> |
JoinDesc.getExprs() |
Map<Byte,List<ExprNodeDesc>> |
HashTableSinkDesc.getExprs() |
Map<Byte,List<ExprNodeDesc>> |
JoinDesc.getFilters() |
Map<Byte,List<ExprNodeDesc>> |
HashTableSinkDesc.getFilters() |
List<ExprNodeDesc> |
ReduceSinkDesc.getKeyCols() |
List<ExprNodeDesc> |
TopNKeyDesc.getKeyColumns() |
Map<Byte,List<ExprNodeDesc>> |
MapJoinDesc.getKeys() |
List<ExprNodeDesc> |
GroupByDesc.getKeys() |
Map<Byte,List<ExprNodeDesc>> |
HashTableSinkDesc.getKeys() |
List<ExprNodeDesc> |
AggregationDesc.getParameters() |
List<List<ExprNodeDesc>> |
MuxDesc.getParentToKeyCols() |
List<List<ExprNodeDesc>> |
MuxDesc.getParentToValueCols() |
List<ExprNodeDesc> |
ReduceSinkDesc.getPartitionCols() |
List<ExprNodeDesc> |
FileSinkDesc.getPartitionCols() |
List<ExprNodeDesc> |
TopNKeyDesc.getPartitionKeyColumns() |
List<ExprNodeDesc> |
JoinDesc.getResidualFilterExprs() |
List<ExprNodeDesc> |
ReduceSinkDesc.getValueCols() |
static List<ExprNodeDesc> |
ExprNodeDescUtils.resolveJoinKeysAsRSColumns(List<ExprNodeDesc> sourceList,
Operator<?> reduceSinkOp) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.split(ExprNodeDesc current)
split predicates by AND op
|
static List<ExprNodeDesc> |
ExprNodeDescUtils.split(ExprNodeDesc current,
List<ExprNodeDesc> splitted)
split predicates by AND op
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExprNodeColumnListDesc.addColumn(ExprNodeDesc column) |
static void |
PlanUtils.addExprToStringBuffer(ExprNodeDesc expr,
Appendable sb,
boolean userLevelExplain) |
static void |
PlanUtils.addExprToStringBuffer(ExprNodeDesc expr,
Appendable sb,
boolean userLevelExplain,
boolean sortExpressions) |
static ExprNodeGenericFuncDesc |
ExprNodeDescUtils.and(ExprNodeDesc e1,
ExprNodeDesc e2)
Creates a conjunction (AND) of two expressions flattening nested conjunctions if possible.
|
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal) |
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr) |
static ExprNodeDesc |
ExprNodeDescUtils.backtrack(ExprNodeDesc source,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr,
boolean stayInSameVertex) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(ExprNodeDesc node1,
ExprNodeDesc node2) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(List<ExprNodeDesc> nodes,
ExprNodeDesc exprNode) |
static boolean |
ExprNodeDescUtils.containsPredicate(ExprNodeDesc source,
ExprNodeDesc predicate)
return true if predicate is already included in source
|
static PrimitiveTypeInfo |
ExprNodeDescUtils.deriveMinArgumentCast(ExprNodeDesc childExpr,
TypeInfo targetType) |
static ExprNodeDesc |
ExprNodeDescUtils.disjunction(ExprNodeDesc e1,
ExprNodeDesc e2) |
static void |
ExprNodeDescUtils.disjunctiveDecomposition(ExprNodeDesc expr,
List<ExprNodeDesc> operands) |
static String |
ExprNodeDescUtils.extractColName(ExprNodeDesc root) |
static ExprNodeDesc[] |
ExprNodeDescUtils.extractComparePair(ExprNodeDesc expr1,
ExprNodeDesc expr2) |
static Set<ExprNodeColumnDesc> |
ExprNodeDescUtils.findAllColumnDescs(ExprNodeDesc expr) |
static ExprNodeDescUtils.ColumnOrigin |
ExprNodeDescUtils.findColumnOrigin(ExprNodeDesc expr,
Operator<?> op) |
static ExprNodeDesc |
ExprNodeDescUtils.flattenExpr(ExprNodeDesc source)
A normal reduce operator's rowObjectInspector looks like a struct containing
nested key/value structs that contain the column values:
{ key: { reducesinkkey0:int }, value: { _col0:int, _col1:int, ..
|
static ExprNodeColumnDesc |
ExprNodeDescUtils.getColumnExpr(ExprNodeDesc expr) |
static void |
ExprNodeDescUtils.getExprNodeColumnDesc(ExprNodeDesc exprDesc,
com.google.common.collect.Multimap<Integer,ExprNodeColumnDesc> hashCodeToColumnDescMap)
Get Map of ExprNodeColumnDesc HashCode to ExprNodeColumnDesc.
|
static int |
ExprNodeDescUtils.indexOf(ExprNodeDesc origin,
List<ExprNodeDesc> sources) |
static int |
ExprNodeDescUtils.indexOf(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
int startIndex) |
static boolean |
ExprNodeDescUtils.isAnd(ExprNodeDesc expr) |
static boolean |
ExprNodeDescUtils.isConstant(ExprNodeDesc value) |
static boolean |
ExprNodeDescUtils.isConstantStruct(ExprNodeDesc valueDesc) |
static boolean |
ExprNodeDescUtils.isDeterministic(ExprNodeDesc desc)
Return false if the expression has any non deterministic function
|
static boolean |
ExprNodeDescUtils.isIntegerType(ExprNodeDesc expr) |
static boolean |
ExprNodeDescUtils.isNullConstant(ExprNodeDesc value) |
static boolean |
ExprNodeDescUtils.isOr(ExprNodeDesc expr) |
static boolean |
ExprNodeDescUtils.isSame(ExprNodeDesc desc1,
ExprNodeDesc desc2) |
static boolean |
ExprNodeDescUtils.isStructUDF(ExprNodeDesc columnDesc) |
static ExprNodeGenericFuncDesc |
ExprNodeDescUtils.mergePredicates(ExprNodeDesc prev,
ExprNodeDesc next)
bind two predicates by AND op
|
static String |
ExprNodeDescUtils.recommendInputName(ExprNodeDesc desc)
Recommend name for the expression
|
static ExprNodeDesc |
ExprNodeDescUtils.replace(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
List<ExprNodeDesc> targets) |
static void |
ExprNodeDescUtils.replaceEqualDefaultPartition(ExprNodeDesc origin,
String defaultPartitionName) |
static void |
ExprNodeDescUtils.replaceNullFiltersWithDefaultPartition(ExprNodeDesc origin,
String defaultPartitionName) |
static ExprNodeDesc |
ExprNodeDescUtils.replaceTabAlias(ExprNodeDesc expr,
String oldAlias,
String newAlias) |
static ExprNodeDesc |
ExprNodeDescUtils.resolveJoinKeysAsRSColumns(ExprNodeDesc source,
Operator<?> reduceSinkOp)
Join keys are expressions based on the select operator.
|
void |
ExprNodeFieldDesc.setDesc(ExprNodeDesc desc) |
void |
VectorPTFDesc.setOrderExprNodeDescs(ExprNodeDesc[] orderExprNodeDescs) |
void |
VectorPTFDesc.setPartitionExprNodeDescs(ExprNodeDesc[] partitionExprNodeDescs) |
void |
DynamicPruningEventDesc.setPartKey(ExprNodeDesc partKey) |
void |
FilterDesc.setPredicate(ExprNodeDesc predicate) |
void |
DynamicPruningEventDesc.setPredicate(ExprNodeDesc predicate) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.split(ExprNodeDesc current)
split predicates by AND op
|
static List<ExprNodeDesc> |
ExprNodeDescUtils.split(ExprNodeDesc current,
List<ExprNodeDesc> splitted)
split predicates by AND op
|
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeGenericFuncDesc |
ExprNodeDescUtils.and(List<ExprNodeDesc> exps)
Creates a conjunction (AND) of the given expressions flattening nested conjunctions if possible.
|
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal)
Convert expressions in current operator to those in terminal operator, which
is an ancestor of current or null (back to top operator).
|
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr) |
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.backtrack(List<ExprNodeDesc> sources,
Operator<?> current,
Operator<?> terminal,
boolean foldExpr,
boolean stayInSameVertex) |
static boolean |
ExprNodeDescUtils.checkPrefixKeys(List<ExprNodeDesc> childKeys,
List<ExprNodeDesc> parentKeys,
Operator<? extends OperatorDesc> childOp,
Operator<? extends OperatorDesc> parentOp)
Checks whether the keys of a parent operator are a prefix of the keys of a
child operator.
|
static boolean |
ExprNodeDescUtils.checkPrefixKeys(List<ExprNodeDesc> childKeys,
List<ExprNodeDesc> parentKeys,
Operator<? extends OperatorDesc> childOp,
Operator<? extends OperatorDesc> parentOp)
Checks whether the keys of a parent operator are a prefix of the keys of a
child operator.
|
static boolean |
ExprNodeDescUtils.checkPrefixKeysUpstream(List<ExprNodeDesc> childKeys,
List<ExprNodeDesc> parentKeys,
Operator<? extends OperatorDesc> childOp,
Operator<? extends OperatorDesc> parentOp)
Checks whether the keys of a child operator are a prefix of the keys of a
parent operator.
|
static boolean |
ExprNodeDescUtils.checkPrefixKeysUpstream(List<ExprNodeDesc> childKeys,
List<ExprNodeDesc> parentKeys,
Operator<? extends OperatorDesc> childOp,
Operator<? extends OperatorDesc> parentOp)
Checks whether the keys of a child operator are a prefix of the keys of a
parent operator.
|
static ArrayList<ExprNodeDesc> |
ExprNodeDescUtils.clone(List<ExprNodeDesc> sources) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(List<ExprNodeDesc> inputExpr) |
static ExprNodeDesc |
ExprNodeDescUtils.conjunction(List<ExprNodeDesc> nodes,
ExprNodeDesc exprNode) |
static ExprNodeDesc |
ExprNodeDescUtils.disjunction(List<ExprNodeDesc> operands) |
static void |
ExprNodeDescUtils.disjunctiveDecomposition(ExprNodeDesc expr,
List<ExprNodeDesc> operands) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.flattenExprList(List<ExprNodeDesc> sourceList) |
static String |
PlanUtils.getExprListString(Collection<? extends ExprNodeDesc> exprs) |
static String |
PlanUtils.getExprListString(Collection<? extends ExprNodeDesc> exprs,
boolean userLevelExplain) |
static String |
PlanUtils.getExprListString(Collection<? extends ExprNodeDesc> exprs,
boolean userLevelExplain,
boolean sortExpressions) |
static void |
ExprNodeDescUtils.getExprNodeColumnDesc(List<ExprNodeDesc> exprDescList,
com.google.common.collect.Multimap<Integer,ExprNodeColumnDesc> hashCodeTocolumnDescMap) |
static List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
PlanUtils.getFieldSchemasFromColumnList(List<ExprNodeDesc> cols,
List<String> outputColumnNames,
int start,
String fieldPrefix)
Convert the ColumnList to FieldSchema list.
|
static List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
PlanUtils.getFieldSchemasFromColumnList(List<ExprNodeDesc> cols,
String fieldPrefix)
Convert the ColumnList to FieldSchema list.
|
static List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
PlanUtils.getFieldSchemasFromColumnListWithLength(List<ExprNodeDesc> cols,
List<List<Integer>> distinctColIndices,
List<String> outputColumnNames,
int length,
String fieldPrefix)
Convert the ColumnList to FieldSchema list.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numKeys,
List<ExprNodeDesc> valueCols,
List<List<Integer>> distinctColIndices,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
boolean includeKey,
int tag,
int numPartitionFields,
int numReducers,
AcidUtils.Operation writeType,
NullOrdering defaultNullOrder)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numKeys,
List<ExprNodeDesc> valueCols,
List<List<Integer>> distinctColIndices,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
boolean includeKey,
int tag,
int numPartitionFields,
int numReducers,
AcidUtils.Operation writeType,
NullOrdering defaultNullOrder)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numKeys,
List<ExprNodeDesc> valueCols,
List<List<Integer>> distinctColIndices,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numKeys,
List<ExprNodeDesc> valueCols,
List<List<Integer>> distinctColIndices,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numKeys,
List<ExprNodeDesc> valueCols,
List<List<Integer>> distinctColIndices,
List<String> outputKeyColumnNames,
List<String> outputValueColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputColumnNames,
boolean includeKey,
int tag,
int numPartitionFields,
int numReducers,
AcidUtils.Operation writeType,
NullOrdering defaultNullOrder)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputColumnNames,
boolean includeKey,
int tag,
int numPartitionFields,
int numReducers,
AcidUtils.Operation writeType,
NullOrdering defaultNullOrder)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType,
boolean isCompaction)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType,
boolean isCompaction)
Create the reduce sink descriptor.
|
static ReduceSinkDesc |
PlanUtils.getReduceSinkDesc(List<ExprNodeDesc> keyCols,
List<ExprNodeDesc> valueCols,
List<String> outputColumnNames,
boolean includeKeyCols,
int tag,
List<ExprNodeDesc> partitionCols,
String order,
String nullOrder,
NullOrdering defaultNullOrder,
int numReducers,
AcidUtils.Operation writeType,
boolean isCompaction)
Create the reduce sink descriptor.
|
static int |
ExprNodeDescUtils.indexOf(ExprNodeDesc origin,
List<ExprNodeDesc> sources) |
static int |
ExprNodeDescUtils.indexOf(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
int startIndex) |
static boolean |
ExprNodeDescUtils.isAllConstants(List<ExprNodeDesc> value) |
static boolean |
ExprNodeDescUtils.isSame(List<ExprNodeDesc> first,
List<ExprNodeDesc> second) |
static boolean |
ExprNodeDescUtils.isSame(List<ExprNodeDesc> first,
List<ExprNodeDesc> second) |
static boolean |
MapJoinDesc.isSupportedComplexType(List<ExprNodeDesc> keys) |
static ExprNodeDesc |
ExprNodeDescUtils.mergePredicates(List<ExprNodeDesc> exprs)
bind n predicates by AND op
|
static ExprNodeGenericFuncDesc |
ExprNodeDescUtils.murmurHash(List<ExprNodeDesc> exps)
Create an expression for computing a murmur hash by recursively hashing given expressions by two:
|
static ExprNodeGenericFuncDesc |
ExprNodeGenericFuncDesc.newInstance(GenericUDF genericUDF,
List<ExprNodeDesc> children) |
static ExprNodeGenericFuncDesc |
ExprNodeGenericFuncDesc.newInstance(GenericUDF genericUDF,
String funcText,
List<ExprNodeDesc> children)
Create a ExprNodeGenericFuncDesc based on the genericUDFClass and the
children parameters.
|
static ExprNodeDesc |
ExprNodeDescUtils.replace(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
List<ExprNodeDesc> targets) |
static ExprNodeDesc |
ExprNodeDescUtils.replace(ExprNodeDesc origin,
List<ExprNodeDesc> sources,
List<ExprNodeDesc> targets) |
static void |
ExprNodeDescUtils.replaceTabAlias(Collection<ExprNodeDesc> exprs,
String oldAlias,
String newAlias) |
static void |
ExprNodeDescUtils.replaceTabAlias(Map<String,ExprNodeDesc> exprMap,
String oldAlias,
String newAlias) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.resolveJoinKeysAsRSColumns(List<ExprNodeDesc> sourceList,
Operator<?> reduceSinkOp) |
void |
ReduceSinkDesc.setBucketCols(List<ExprNodeDesc> bucketCols) |
void |
ExprNodeGenericFuncDesc.setChildren(List<ExprNodeDesc> children) |
void |
SelectDesc.setColList(List<ExprNodeDesc> colList) |
void |
OperatorDesc.setColumnExprMap(Map<String,ExprNodeDesc> colExprMap) |
void |
AbstractOperatorDesc.setColumnExprMap(Map<String,ExprNodeDesc> colExprMap) |
void |
DynamicPartitionCtx.setCustomSortExpressions(List<Function<List<ExprNodeDesc>,ExprNodeDesc>> customSortExpressions) |
void |
DynamicPartitionCtx.setCustomSortExpressions(List<Function<List<ExprNodeDesc>,ExprNodeDesc>> customSortExpressions) |
void |
MapWork.setEventSourcePartKeyExprMap(Map<String,List<ExprNodeDesc>> map) |
void |
MapWork.setEventSourcePredicateExprMap(Map<String,List<ExprNodeDesc>> eventSourcePredicateExprMap) |
void |
JoinDesc.setExprs(Map<Byte,List<ExprNodeDesc>> exprs) |
void |
HashTableSinkDesc.setExprs(Map<Byte,List<ExprNodeDesc>> exprs) |
void |
JoinDesc.setFilters(Map<Byte,List<ExprNodeDesc>> filters) |
void |
HashTableSinkDesc.setFilters(Map<Byte,List<ExprNodeDesc>> filters) |
void |
ReduceSinkDesc.setKeyCols(List<ExprNodeDesc> keyCols) |
void |
TopNKeyDesc.setKeyColumns(List<ExprNodeDesc> keyColumns) |
void |
GroupByDesc.setKeys(List<ExprNodeDesc> keys) |
void |
MapJoinDesc.setKeys(Map<Byte,List<ExprNodeDesc>> keys) |
void |
HashTableSinkDesc.setKeys(Map<Byte,List<ExprNodeDesc>> keys) |
void |
AggregationDesc.setParameters(List<ExprNodeDesc> parameters) |
void |
MuxDesc.setParentToKeyCols(List<List<ExprNodeDesc>> parentToKeyCols) |
void |
MuxDesc.setParentToValueCols(List<List<ExprNodeDesc>> parentToValueCols) |
void |
ReduceSinkDesc.setPartitionCols(List<ExprNodeDesc> partitionCols) |
void |
FileSinkDesc.setPartitionCols(List<ExprNodeDesc> partitionCols) |
void |
TopNKeyDesc.setPartitionKeyColumns(List<ExprNodeDesc> partitionKeyColumns) |
void |
JoinDesc.setResidualFilterExprs(List<ExprNodeDesc> residualFilterExprs) |
void |
ReduceSinkDesc.setValueCols(List<ExprNodeDesc> valueCols) |
static List<ExprNodeDesc> |
ExprNodeDescUtils.split(ExprNodeDesc current,
List<ExprNodeDesc> splitted)
split predicates by AND op
|
static Collection<ExprNodeDesc.ExprNodeDescEqualityWrapper> |
ExprNodeDesc.ExprNodeDescEqualityWrapper.transform(Collection<ExprNodeDesc> descs) |
| Constructor and Description |
|---|
ExprNodeDescEqualityWrapper(ExprNodeDesc exprNodeDesc) |
ExprNodeDynamicListDesc(TypeInfo typeInfo,
Operator<? extends OperatorDesc> source,
int keyIndex,
ExprNodeDesc target) |
ExprNodeFieldDesc(TypeInfo typeInfo,
ExprNodeDesc desc,
String fieldName,
Boolean isList) |
ExprNodeSubQueryDesc(TypeInfo typeInfo,
org.apache.calcite.rel.RelNode subQuery,
SubqueryType type,
ExprNodeDesc lhs) |
ExprNodeSubQueryDesc(TypeInfo typeInfo,
org.apache.calcite.rel.RelNode subQuery,
SubqueryType type,
ExprNodeDesc lhs,
ASTNode comparisonOp) |
FilterDesc(ExprNodeDesc predicate,
boolean isSamplingPred) |
FilterDesc(ExprNodeDesc predicate,
boolean isSamplingPred,
FilterDesc.SampleDesc sampleDescr) |
JoinDesc(Map<Byte,List<ExprNodeDesc>> exprs,
List<String> outputColumnNames,
boolean noOuterJoin,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
ExprNodeDesc[][] joinKeys,
MemoryMonitorInfo memoryMonitorInfo) |
| Constructor and Description |
|---|
AggregationDesc(String genericUDAFName,
GenericUDAFEvaluator genericUDAFEvaluator,
List<ExprNodeDesc> parameters,
boolean distinct,
GenericUDAFEvaluator.Mode mode) |
ExprNodeGenericFuncDesc(ObjectInspector oi,
GenericUDF genericUDF,
List<ExprNodeDesc> children) |
ExprNodeGenericFuncDesc(ObjectInspector oi,
GenericUDF genericUDF,
String funcText,
List<ExprNodeDesc> children) |
ExprNodeGenericFuncDesc(TypeInfo typeInfo,
GenericUDF genericUDF,
List<ExprNodeDesc> children) |
ExprNodeGenericFuncDesc(TypeInfo typeInfo,
GenericUDF genericUDF,
String funcText,
List<ExprNodeDesc> children) |
FileSinkDesc(org.apache.hadoop.fs.Path dirName,
TableDesc tableInfo,
boolean compressed,
int destTableId,
boolean multiFileSpray,
boolean canBeMerged,
int numFiles,
int totalFiles,
List<ExprNodeDesc> partitionCols,
DynamicPartitionCtx dpCtx,
org.apache.hadoop.fs.Path destPath,
Long mmWriteId,
boolean isMmCtas,
boolean isInsertOverwrite,
boolean isQuery,
boolean isCTASorCM,
boolean isDirectInsert,
AcidUtils.Operation acidOperation,
boolean deleteOfSplitUpdate) |
GroupByDesc(GroupByDesc.Mode mode,
List<String> outputColumnNames,
List<ExprNodeDesc> keys,
List<AggregationDesc> aggregators,
boolean bucketGroup,
float groupByMemoryUsage,
float memoryThreshold,
float minReductionHashAggr,
float minReductionHashAggrLowerBound,
List<Long> listGroupingSets,
boolean groupingSetsPresent,
int groupingSetsPosition,
boolean isDistinct) |
GroupByDesc(GroupByDesc.Mode mode,
List<String> outputColumnNames,
List<ExprNodeDesc> keys,
List<AggregationDesc> aggregators,
float groupByMemoryUsage,
float memoryThreshold,
float minReductionHashAggr,
float minReductionHashAggrLowerBound,
List<Long> listGroupingSets,
boolean groupingSetsPresent,
int groupingSetsPosition,
boolean isDistinct) |
JoinDesc(Map<Byte,List<ExprNodeDesc>> exprs,
List<String> outputColumnNames,
boolean noOuterJoin,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
ExprNodeDesc[][] joinKeys,
MemoryMonitorInfo memoryMonitorInfo) |
JoinDesc(Map<Byte,List<ExprNodeDesc>> exprs,
List<String> outputColumnNames,
boolean noOuterJoin,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
ExprNodeDesc[][] joinKeys,
MemoryMonitorInfo memoryMonitorInfo) |
MapJoinDesc(Map<Byte,List<ExprNodeDesc>> keys,
TableDesc keyTblDesc,
Map<Byte,List<ExprNodeDesc>> values,
List<TableDesc> valueTblDescs,
List<TableDesc> valueFilteredTblDescs,
List<String> outputColumnNames,
int posBigTable,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
boolean noOuterJoin,
String dumpFilePrefix,
MemoryMonitorInfo memoryMonitorInfo,
long inMemoryDataSize) |
MapJoinDesc(Map<Byte,List<ExprNodeDesc>> keys,
TableDesc keyTblDesc,
Map<Byte,List<ExprNodeDesc>> values,
List<TableDesc> valueTblDescs,
List<TableDesc> valueFilteredTblDescs,
List<String> outputColumnNames,
int posBigTable,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
boolean noOuterJoin,
String dumpFilePrefix,
MemoryMonitorInfo memoryMonitorInfo,
long inMemoryDataSize) |
MapJoinDesc(Map<Byte,List<ExprNodeDesc>> keys,
TableDesc keyTblDesc,
Map<Byte,List<ExprNodeDesc>> values,
List<TableDesc> valueTblDescs,
List<TableDesc> valueFilteredTblDescs,
List<String> outputColumnNames,
int posBigTable,
JoinCondDesc[] conds,
Map<Byte,List<ExprNodeDesc>> filters,
boolean noOuterJoin,
String dumpFilePrefix,
MemoryMonitorInfo memoryMonitorInfo,
long inMemoryDataSize) |
ReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numDistributionKeys,
List<ExprNodeDesc> valueCols,
List<String> outputKeyColumnNames,
List<List<Integer>> distinctColumnIndices,
List<String> outputValueColumnNames,
int tag,
List<ExprNodeDesc> partitionCols,
int numReducers,
TableDesc keySerializeInfo,
TableDesc valueSerializeInfo,
AcidUtils.Operation writeType) |
ReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numDistributionKeys,
List<ExprNodeDesc> valueCols,
List<String> outputKeyColumnNames,
List<List<Integer>> distinctColumnIndices,
List<String> outputValueColumnNames,
int tag,
List<ExprNodeDesc> partitionCols,
int numReducers,
TableDesc keySerializeInfo,
TableDesc valueSerializeInfo,
AcidUtils.Operation writeType) |
ReduceSinkDesc(List<ExprNodeDesc> keyCols,
int numDistributionKeys,
List<ExprNodeDesc> valueCols,
List<String> outputKeyColumnNames,
List<List<Integer>> distinctColumnIndices,
List<String> outputValueColumnNames,
int tag,
List<ExprNodeDesc> partitionCols,
int numReducers,
TableDesc keySerializeInfo,
TableDesc valueSerializeInfo,
AcidUtils.Operation writeType) |
SelectDesc(List<ExprNodeDesc> colList,
List<String> outputColumnNames) |
SelectDesc(List<ExprNodeDesc> colList,
List<String> outputColumnNames,
boolean selectStar) |
TopNKeyDesc(int topN,
String columnSortOrder,
String nullOrder,
List<ExprNodeDesc> keyColumns,
List<ExprNodeDesc> partitionKeyColumns,
float efficiencyThreshold,
long checkEfficiencyNumBatches,
int maxNumberOfPartitions) |
TopNKeyDesc(int topN,
String columnSortOrder,
String nullOrder,
List<ExprNodeDesc> keyColumns,
List<ExprNodeDesc> partitionKeyColumns,
float efficiencyThreshold,
long checkEfficiencyNumBatches,
int maxNumberOfPartitions) |
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
PTFExpressionDef.getExprNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
PTFExpressionDef.setExprNode(ExprNodeDesc exprNode) |
| Modifier and Type | Field and Description |
|---|---|
protected ExprNodeDesc |
ExprWalkerInfo.ExprInfo.convertedExpr
new expr for this expression.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ReduceSinkOperator,Map<ExprNodeDesc,ExprNodeDesc>> |
OpWalkerInfo.getEqualities() |
Map<ReduceSinkOperator,Map<ExprNodeDesc,ExprNodeDesc>> |
OpWalkerInfo.getEqualities() |
Map<String,List<ExprNodeDesc>> |
ExprWalkerInfo.getFinalCandidates()
Returns the list of pushdown expressions for each alias that appear in the
current operator's RowResolver.
|
Map<ExprNodeDesc,ExprNodeDesc> |
ExprWalkerInfo.getNewToOldExprMap() |
Map<ExprNodeDesc,ExprNodeDesc> |
ExprWalkerInfo.getNewToOldExprMap() |
Map<String,List<ExprNodeDesc>> |
ExprWalkerInfo.getNonFinalCandidates()
Returns list of non-final candidate predicate for each map.
|
Map<String,List<ExprNodeDesc>> |
ExprWalkerInfo.getResidualPredicates(boolean clear) |
| Modifier and Type | Method and Description |
|---|---|
ExprWalkerInfo.ExprInfo |
ExprWalkerInfo.addExprInfo(ExprNodeDesc expr)
Get additional info for a given expression node if it
exists, or create a new one and store it if it does not
|
void |
ExprWalkerInfo.addFinalCandidate(String alias,
ExprNodeDesc expr) |
void |
ExprWalkerInfo.addNonFinalCandidate(String alias,
ExprNodeDesc expr)
Adds the specified expr as a non-final candidate
|
ExprWalkerInfo.ExprInfo |
ExprWalkerInfo.addOrGetExprInfo(ExprNodeDesc expr)
Get additional info for a given expression node if it
exists, or create a new one and store it if it does not
|
static ExprWalkerInfo |
ExprWalkerProcFactory.extractPushdownPreds(OpWalkerInfo opContext,
Operator<? extends OperatorDesc> op,
ExprNodeDesc pred) |
ExprWalkerInfo.ExprInfo |
ExprWalkerInfo.getExprInfo(ExprNodeDesc expr)
Get additional info for a given expression node
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExprWalkerInfo.addPushDowns(String alias,
List<ExprNodeDesc> pushDowns)
Adds the passed list of pushDowns for the alias.
|
protected static Object |
OpProcFactory.createFilter(Operator op,
Map<String,List<ExprNodeDesc>> predicates,
OpWalkerInfo owi) |
static ExprWalkerInfo |
ExprWalkerProcFactory.extractPushdownPreds(OpWalkerInfo opContext,
Operator<? extends OperatorDesc> op,
List<ExprNodeDesc> preds)
Extracts pushdown predicates from the given list of predicate expression.
|
| Modifier and Type | Method and Description |
|---|---|
static ColStatistics |
StatsUtils.getColStatisticsFromExpression(HiveConf conf,
Statistics parentStats,
ExprNodeDesc end)
Get column statistics expression nodes
|
| Modifier and Type | Method and Description |
|---|---|
static List<ColStatistics> |
StatsUtils.getColStatisticsFromExprMap(HiveConf conf,
Statistics parentStats,
Map<String,ExprNodeDesc> colExprMap,
RowSchema rowSchema)
Get column statistics from parent statistics.
|
| Modifier and Type | Method and Description |
|---|---|
ExprNodeDesc |
GenericUDFMacro.getBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericUDFMacro.setBody(ExprNodeDesc bodyDesc) |
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
GenericUDFUtils.deriveInType(List<ExprNodeDesc> children) |
| Constructor and Description |
|---|
GenericUDFMacro(String macroName,
ExprNodeDesc bodyDesc,
List<String> colNames,
List<TypeInfo> colTypes) |
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
MatchPath.ResultExpressionParser.buildExprNode(ASTNode expr,
TypeCheckCtx typeCheckCtx) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<ExprNodeDesc> |
MatchPath.ResultExprInfo.getResultExprNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
MatchPath.ResultExprInfo.setResultExprNodes(ArrayList<ExprNodeDesc> resultExprNodes) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.