| 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.tez | |
| org.apache.hadoop.hive.ql.history | |
| 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.reexec |
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
Compiler.compile(String rawCommand,
boolean deferClose) |
QueryPlan |
Driver.getPlan() |
QueryPlan |
DriverContext.getPlan() |
QueryPlan |
IDriver.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Compiler.initializeFetchTask(QueryPlan plan) |
void |
TaskQueue.prepare(QueryPlan plan) |
void |
DriverContext.setPlan(QueryPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
DDLOperationContext.getQueryPlan() |
| 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 QueryPlan |
Task.queryPlan |
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
Task.getQueryPlan() |
| 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.
|
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) |
void |
Task.setQueryPlan(QueryPlan queryPlan) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DagUtils.createDagName(org.apache.hadoop.conf.Configuration conf,
QueryPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
void |
HiveHistory.logPlanProgress(QueryPlan plan)
Logs the current plan state
|
void |
HiveHistoryImpl.logPlanProgress(QueryPlan plan) |
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
HookContext.getQueryPlan() |
| Modifier and Type | Method and Description |
|---|---|
static List<LineageLogger.Edge> |
LineageLogger.getEdges(QueryPlan plan,
LineageCtx.Index index)
Based on the final select operator, find out all the target columns.
|
void |
HookContext.setQueryPlan(QueryPlan queryPlan) |
| Constructor and Description |
|---|
HookContext(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) |
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.
|
void |
DbTxnManager.addWriteIdsToMinHistory(QueryPlan plan,
ValidTxnWriteIdList txnWriteIds) |
void |
HiveTxnManager.addWriteIdsToMinHistory(QueryPlan plan,
ValidTxnWriteIdList txnWriteIds)
Persists txnWriteId hwm list into a backend DB to identify obsolete directories eligible for cleanup
|
boolean |
DbTxnManager.recordSnapshot(QueryPlan queryPlan)
In an explicit txn start_transaction is the 1st statement and we record the snapshot at the
start of the txn for Snapshot Isolation.
|
boolean |
HiveTxnManager.recordSnapshot(QueryPlan queryPlan)
For resources that support MVCC, the state of the DB must be recorded for the duration of the
operation/transaction.
|
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
ReExecDriver.getPlan() |
Copyright © 2024 The Apache Software Foundation. All rights reserved.