| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql | |
| org.apache.hadoop.hive.ql.ddl | |
| org.apache.hadoop.hive.ql.exec |
Hive QL execution tasks, operators, functions and other handlers.
|
| org.apache.hadoop.hive.ql.exec.mr | |
| org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util | |
| org.apache.hadoop.hive.ql.exec.repl.incremental | |
| org.apache.hadoop.hive.ql.exec.tez | |
| org.apache.hadoop.hive.ql.exec.tez.monitoring | |
| org.apache.hadoop.hive.ql.hooks | |
| org.apache.hadoop.hive.ql.io.merge | |
| org.apache.hadoop.hive.ql.io.rcfile.truncate | |
| org.apache.hadoop.hive.ql.lockmgr |
Hive Lock Manager interfaces and some custom implmentations
|
| org.apache.hadoop.hive.ql.optimizer.physical | |
| org.apache.hadoop.hive.ql.parse | |
| org.apache.hadoop.hive.ql.parse.repl.load.message | |
| org.apache.hadoop.hive.ql.plan | |
| org.apache.hadoop.hive.ql.reexec | |
| org.apache.hadoop.hive.ql.tools |
| Modifier and Type | Method and Description |
|---|---|
Context |
DriverContext.getBackupContext() |
Context |
Driver.getContext() |
Context |
IDriver.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
Context.addSubContext(Context context) |
void |
DriverContext.setBackupContext(Context backupContext) |
| Constructor and Description |
|---|
Compiler(Context context,
DriverContext driverContext,
DriverState driverState) |
Context(Context ctx) |
Driver(HiveConf conf,
Context ctx,
LineageState lineageState) |
Executor(Context context,
DriverContext driverContext,
DriverState driverState,
TaskQueue taskQueue) |
TaskQueue(Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
Context |
DDLOperationContext.getContext() |
| Constructor and Description |
|---|
DDLOperationContext(HiveConf conf,
Context context,
DDLTask task,
DDLWork work,
QueryState queryState,
QueryPlan queryPlan,
SessionState.LogHelper console) |
| Modifier and Type | Field and Description |
|---|---|
protected Context |
Task.context |
| Modifier and Type | Method and Description |
|---|---|
Context |
Task.getContext() |
| Modifier and Type | Method and Description |
|---|---|
static String |
ExplainTask.getExplainOutput(BaseSemanticAnalyzer sem,
QueryPlan plan,
ASTNode astTree,
QueryState queryState,
Context context,
HiveConf conf)
Returns EXPLAIN EXTENDED output for a semantically analyzed query.
|
static List<org.apache.hadoop.fs.Path> |
Utilities.getInputPaths(org.apache.hadoop.mapred.JobConf job,
MapWork work,
org.apache.hadoop.fs.Path hiveScratchDir,
Context ctx,
boolean skipDummy)
Computes a list of all input paths needed to compute the given MapWork.
|
static org.apache.hadoop.fs.ContentSummary |
Utilities.getInputSummary(Context ctx,
MapWork work,
org.apache.hadoop.fs.PathFilter filter)
Calculate the total size of input files.
|
void |
Task.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
void |
FetchTask.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
void |
StatsTask.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
static boolean |
Utilities.isEmptyPath(org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.fs.Path dirPath,
Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ExecDriver.generateCmdLine(HiveConf hconf,
Context ctx)
Given a Hive Configuration object - generate a command line fragment for passing such
configuration information to ExecDriver.
|
void |
MapredLocalTask.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
void |
ExecDriver.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context)
Initialization when invoked from QL.
|
int |
HadoopJobExecHelper.progress(org.apache.hadoop.mapred.RunningJob rj,
org.apache.hadoop.mapred.JobClient jc,
Context ctx) |
| Modifier and Type | Field and Description |
|---|---|
Context |
Context.nestedContext |
| Constructor and Description |
|---|
Context(String dumpDirectory,
HiveConf hiveConf,
Hive hiveDb,
LineageState lineageState,
Context nestedContext) |
| Modifier and Type | Method and Description |
|---|---|
Task<?> |
IncrementalLoadTasksBuilder.build(Context context,
Hive hive,
org.slf4j.Logger log,
TaskTracker tracker) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapred.JobConf |
DagUtils.initializeVertexConf(org.apache.hadoop.mapred.JobConf conf,
Context context,
BaseWork work)
Creates and initializes the JobConf object for a given BaseWork object.
|
| Constructor and Description |
|---|
TezJobMonitor(List<BaseWork> topSortedWorks,
org.apache.tez.dag.api.client.DAGClient dagClient,
HiveConf conf,
org.apache.tez.dag.api.DAG dag,
Context ctx,
org.apache.tez.common.counters.TezCounters counters) |
| Modifier and Type | Method and Description |
|---|---|
Context |
PrivateHookContext.getContext() |
| Constructor and Description |
|---|
PrivateHookContext(DriverContext driverContext,
Context context) |
PrivateHookContext(QueryPlan queryPlan,
QueryState queryState,
Map<String,org.apache.hadoop.fs.ContentSummary> inputPathToContentSummary,
String userName,
String ipAddress,
String hiveInstanceAddress,
String operationId,
String sessionId,
String threadId,
boolean isHiveServerQuery,
PerfLogger perfLogger,
QueryInfo queryInfo,
Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
MergeFileTask.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnTruncateTask.initialize(QueryState queryState,
QueryPlan queryPlan,
TaskQueue taskQueue,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
DbTxnManager.acquireLocks(QueryPlan plan,
Context ctx,
String username) |
void |
HiveTxnManager.acquireLocks(QueryPlan plan,
Context ctx,
String username)
Acquire all of the locks needed by a query.
|
void |
HiveTxnManager.acquireLocks(QueryPlan plan,
Context ctx,
String username,
DriverState driverState)
Acquire all of the locks needed by a query.
|
boolean |
DbTxnManager.isImplicitTransactionOpen(Context ctx) |
boolean |
HiveTxnManager.isImplicitTransactionOpen(Context ctx) |
long |
DbTxnManager.openTxn(Context ctx,
String user) |
long |
HiveTxnManager.openTxn(Context ctx,
String user)
Open a new transaction.
|
long |
DbTxnManager.openTxn(Context ctx,
String user,
org.apache.hadoop.hive.metastore.api.TxnType txnType) |
long |
HiveTxnManager.openTxn(Context ctx,
String user,
org.apache.hadoop.hive.metastore.api.TxnType txnType)
Open a new transaction.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
PhysicalContext.getContext() |
| Modifier and Type | Method and Description |
|---|---|
long |
AbstractJoinTaskDispatcher.getTotalKnownInputSize(Context context,
MapWork currWork,
Map<org.apache.hadoop.fs.Path,List<String>> pathToAliases,
Map<String,Long> aliasToSize) |
abstract Task<?> |
AbstractJoinTaskDispatcher.processCurrentTask(MapRedTask currTask,
ConditionalTask conditionalTask,
Context context) |
Task<?> |
CommonJoinTaskDispatcher.processCurrentTask(MapRedTask currTask,
ConditionalTask conditionalTask,
Context context) |
Task<?> |
SortMergeJoinTaskDispatcher.processCurrentTask(MapRedTask currTask,
ConditionalTask conditionalTask,
Context context) |
void |
PhysicalContext.setContext(Context context) |
| Constructor and Description |
|---|
PhysicalContext(HiveConf conf,
ParseContext parseContext,
Context context,
List<Task<?>> rootTasks,
Task<?> fetchTask) |
| Modifier and Type | Field and Description |
|---|---|
protected Context |
BaseSemanticAnalyzer.ctx |
| Modifier and Type | Method and Description |
|---|---|
Context |
ParseContext.getContext() |
Context |
EximUtil.SemanticAnalyzerWrapperContext.getCtx() |
Context |
BaseSemanticAnalyzer.getCtx() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
MergeSemanticAnalyzer.addDestNamePrefixOfUpdate(int insClauseIdx,
Context rewrittenCtx)
This sets the destination name prefix for update clause.
|
protected int |
SplitMergeSemanticAnalyzer.addDestNamePrefixOfUpdate(int insClauseIdx,
Context rewrittenCtx) |
void |
ColumnStatsSemanticAnalyzer.analyze(ASTNode ast,
Context origCtx) |
void |
BaseSemanticAnalyzer.analyze(ASTNode ast,
Context ctx) |
void |
RewriteSemanticAnalyzer.analyzeRewrittenTree(ASTNode rewrittenTree,
Context rewrittenCtx) |
protected abstract void |
TaskCompiler.decideExecMode(List<Task<?>> rootTasks,
Context ctx,
GlobalLimitCtx globalLimitCtx) |
protected void |
TezCompiler.decideExecMode(List<Task<?>> rootTasks,
Context ctx,
GlobalLimitCtx globalLimitCtx) |
protected void |
MapReduceCompiler.decideExecMode(List<Task<?>> rootTasks,
Context ctx,
GlobalLimitCtx globalLimitCtx) |
void |
ScheduledQueryAnalyzer.initCtx(Context ctx) |
void |
BaseSemanticAnalyzer.initCtx(Context ctx) |
protected abstract void |
TaskCompiler.optimizeTaskPlan(List<Task<?>> rootTasks,
ParseContext pCtx,
Context ctx) |
protected void |
TezCompiler.optimizeTaskPlan(List<Task<?>> rootTasks,
ParseContext pCtx,
Context ctx) |
protected void |
MapReduceCompiler.optimizeTaskPlan(List<Task<?>> rootTasks,
ParseContext pCtx,
Context ctx) |
static ASTNode |
ParseUtils.parse(String command,
Context ctx)
Parses the Hive query.
|
static ASTNode |
ParseUtils.parse(String command,
Context ctx,
String viewFullyQualifiedName)
Parses the Hive query.
|
void |
ParseContext.setContext(Context ctx) |
static void |
SubQueryUtils.subqueryRestrictionCheck(QB qb,
ASTNode subqueryExprNode,
org.apache.calcite.rel.RelNode srcRel,
boolean forHavingClause,
Set<ASTNode> corrScalarQueries,
Context ctx,
LinkedHashMap<org.apache.calcite.rel.RelNode,RowResolver> relToHiveRR) |
| Constructor and Description |
|---|
ColumnStatsAutoGatherContext(SemanticAnalyzer sa,
HiveConf conf,
Operator<? extends OperatorDesc> op,
Table tbl,
Map<String,String> partSpec,
boolean isInsertInto,
Context ctx) |
ParseContext(QueryState queryState,
Map<TableScanOperator,ExprNodeDesc> opToPartPruner,
Map<TableScanOperator,PrunedPartitionList> opToPartList,
Map<String,TableScanOperator> topOps,
Set<JoinOperator> joinOps,
Set<SMBMapJoinOperator> smbMapJoinOps,
List<LoadTableDesc> loadTableWork,
List<LoadFileDesc> loadFileWork,
List<ColumnStatsAutoGatherContext> columnStatsAutoGatherContexts,
Context ctx,
Map<String,String> idToTableNameMap,
int destTableId,
UnionProcContext uCtx,
List<AbstractMapJoinOperator<? extends MapJoinDesc>> listMapJoinOpsNoReducer,
Map<String,PrunedPartitionList> prunedPartitions,
QueryTables tabNameToTabObject,
Map<TableScanOperator,FilterDesc.SampleDesc> opToSamplePruner,
GlobalLimitCtx globalLimitCtx,
Map<String,SplitSample> nameToSplitSample,
Set<ReadEntity> semanticInputs,
List<Task<?>> rootTasks,
Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPartToSkewedPruner,
Map<String,ReadEntity> viewAliasToInput,
List<ReduceSinkOperator> reduceSinkOperatorsAddedByEnforceBucketingSorting,
BaseSemanticAnalyzer.AnalyzeRewriteContext analyzeRewrite,
CreateTableDesc createTableDesc,
CreateMaterializedViewDesc createViewDesc,
MaterializedViewUpdateDesc materializedViewUpdateDesc,
QueryProperties queryProperties,
Map<SelectOperator,Table> viewProjectToTableSchema) |
QBSubQuery(String outerQueryId,
int sqIdx,
ASTNode subQueryAST,
ASTNode parentQueryExpression,
QBSubQuery.SubQueryTypeDef operator,
ASTNode originalSQAST,
Context ctx) |
SemanticAnalyzerWrapperContext(HiveConf conf,
Hive db,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
List<Task<?>> tasks,
org.slf4j.Logger LOG,
Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
Context |
MessageHandler.Context.getNestedContext() |
| Constructor and Description |
|---|
Context(String dbName,
String location,
Task<?> precursor,
DumpMetaData dmd,
HiveConf hiveConf,
Hive db,
Context nestedContext,
org.slf4j.Logger log) |
Context(String dbName,
String location,
Task<?> precursor,
DumpMetaData dmd,
HiveConf hiveConf,
Hive db,
Context nestedContext,
org.slf4j.Logger log,
String dumpDirectory,
ReplicationMetricCollector metricCollector) |
| Modifier and Type | Field and Description |
|---|---|
Context |
DeferredWorkContext.ctx |
| Modifier and Type | Method and Description |
|---|---|
Context |
ExplainSQRewriteWork.getCtx() |
| Constructor and Description |
|---|
DeferredWorkContext(boolean replace,
org.apache.hadoop.fs.Path tgtPath,
Long writeId,
int stmtId,
Hive hive,
Context ctx,
ImportTableDesc tblDesc,
boolean inReplScope) |
ExplainSQRewriteWork(String resFile,
QB qb,
ASTNode ast,
Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
Context |
ReExecDriver.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
LineageInfo.getLineageInfo(String query,
Context ctx)
parses given query and gets the lineage info.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.