public class OperatorAnalyzer extends Object
| Constructor and Description |
|---|
OperatorAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeOperator(org.apache.hadoop.hive.ql.exec.Operator<? extends org.apache.hadoop.hive.ql.plan.OperatorDesc> op)
Analyzes the Hive operators plan
|
static PlanNode |
concatPlans(PlanNode main,
PlanNode exten)
Merge two plans into one.
|
static PlanNode |
getPlan()
Get the created plan
|
static PlanNode |
optimizePlan(PlanNode node)
Optimize provided plan
|
public static void analyzeOperator(org.apache.hadoop.hive.ql.exec.Operator<? extends org.apache.hadoop.hive.ql.plan.OperatorDesc> op)
throws Exception
op - Hive planException - if parsing failspublic static PlanNode concatPlans(PlanNode main, PlanNode exten) throws Exception
main - Main plan to be mergedexten - Extension to main planException - If plans can not be concatenatedpublic static PlanNode optimizePlan(PlanNode node)
node - The plan to be optimizedpublic static PlanNode getPlan()
Copyright © 2017. All Rights Reserved.