| Constructor and Description |
|---|
QueryPlan(String queryString,
BaseSemanticAnalyzer sem,
Long startTime,
String queryId,
HiveOperation operation,
org.apache.hadoop.hive.metastore.api.Schema resultSchema) |
| Modifier and Type | Method and Description |
|---|---|
static BaseSemanticAnalyzer |
DDLSemanticAnalyzerFactory.getAnalyzer(ASTNode root,
QueryState queryState) |
static BaseSemanticAnalyzer |
DDLSemanticAnalyzerFactory.getAnalyzer(ASTNode root,
QueryState queryState,
Hive db) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterDatabaseAnalyzer
Analyzer for database alteration commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDatabaseSetLocationAnalyzer
Analyzer for database set location commands.
|
class |
AlterDatabaseSetManagedLocationAnalyzer
Analyzer for database set managed location commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDatabaseSetOwnerAnalyzer
Analyzer for database set owner commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDatabaseSetPropertiesAnalyzer
Analyzer for database set properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateDatabaseAnalyzer
Analyzer for database creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DescDatabaseAnalyzer
Analyzer for database description commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropDatabaseAnalyzer
Analyzer for database dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LockDatabaseAnalyzer
Analyzer for database locking commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowDatabasesAnalyzer
Analyzer for show databases commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowCreateDatabaseAnalyzer
Analyzer for show create database commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnlockDatabaseAnalyzer
Analyzer for database unlocking commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SwitchDatabaseAnalyzer
Analyzer for database switching commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterDataConnectorAnalyzer
Analyzer for data connector alteration commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDataConnectorSetOwnerAnalyzer
Analyzer for data connector set owner commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDataConnectorSetPropertiesAnalyzer
Analyzer for connector set properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterDataConnectorSetUrlAnalyzer
Analyzer for connector set url commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateDataConnectorAnalyzer
Analyzer for dataconnector creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DescDataConnectorAnalyzer
Analyzer for data connector description commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropDataConnectorAnalyzer
Analyzer for data connector dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowDataConnectorsAnalyzer
Analyzer for show connectors commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFunctionAnalyzer
Abstract ancestor of function related ddl analyzer classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateFunctionAnalyzer
Analyzer for function creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DescFunctionAnalyzer
Analyzer for function describing commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropFunctionAnalyzer
Analyzer for function dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateMacroAnalyzer
Analyzer for macro creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropMacroAnalyzer
Analyzer for macro dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReloadFunctionsAnalyzer
Analyzer for reloading functions commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowFunctionsAnalyzer
Analyzer for showing functions commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowConfAnalyzer
Analyzer for show conf commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CacheMetadataAnalyzer
Analyzer for cache metadata commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MsckAnalyzer
Analyzer for metastore check commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPrivilegeAnalyzer
Abstract analyzer for all privilege related commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrantAnalyzer
Analyzer for granting commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RevokeAnalyzer
Analyzer for revoke commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateRoleAnalyzer
Analyzer for role creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropRoleAnalyzer
Analyzer for role dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrantRoleAnalyzer
Analyzer for granting to role commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RevokeRoleAnalyzer
Analyzer for revoking from role commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SetRoleAnalyzer
Analyzer for setting a role commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowCurrentRoleAnalyzer
Analyzer for showing the current role command.
|
class |
ShowRolesAnalyzer
Analyzer for showing roles commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowGrantAnalyzer
Analyzer for showing grant commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowPrincipalsAnalyzer
Analyzer for showing principals commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowRoleGrantAnalyzer
Analyzer for showing role grant commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbortTransactionsAnalyzer
Analyzer for abort transactions commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
KillQueriesAnalyzer
Analyzer for kill query commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowCompactionsAnalyzer
Analyzer for show compactions commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowTransactionsAnalyzer
Analyzer for show transactions commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterTableAnalyzer
Abstract ancestor of all Alter Table analyzer, that have this structure:
tableName command partitionSpec?
|
class |
AbstractBaseAlterTableAnalyzer
Abstract ancestor of all Alter Table analyzer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableAddColumnsAnalyzer
Analyzer for add columns commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableChangeColumnAnalyzer
Analyzer for change columns commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableReplaceColumnsAnalyzer
Analyzer for replace columns commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowColumnsAnalyzer
Analyzer for show columns commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableUpdateColumnsAnalyzer
Analyzer for update columns commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableAddConstraintAnalyzer
Analyzer for add constraint commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableDropConstraintAnalyzer
Analyzer for drop constraint commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowCreateTableAnalyzer
Analyzer for showing table creation commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropTableAnalyzer
Analyzer for table dropping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableExecuteAnalyzer
Analyzer for ALTER TABLE ...
|
| Modifier and Type | Class and Description |
|---|---|
class |
DescTableAnalyzer
Analyzer for table describing commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowTablePropertiesAnalyzer
Analyzer for show table properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowTableStatusAnalyzer
Analyzer for show table status commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowTablesAnalyzer
Analyzer for show tables commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LockTableAnalyzer
Analyzer for lock table commands.
|
class |
UnlockTableAnalyzer
Analyzer for unlock table commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowDbLocksAnalyzer
Analyzer for show DB locks commands.
|
class |
ShowLocksAnalyzer
Analyzer for show locks commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableUpdateColumnStatistictAnalyzer
Analyzer for update column statistics commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetOwnerAnalyzer
Analyzer for set owner commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterTablePropertiesAnalyzer
Analyzer for setting/unsetting the properties of table like entities commands.
|
class |
AbstractAlterTableSetPropertiesAnalyzer
Analyzer for setting the properties of table like entities commands.
|
class |
AbstractAlterTableUnsetPropertiesAnalyzer
Analyzer for unsetting the properties of table like entities commands.
|
class |
AlterTableSetPropertiesAnalyzer
Analyzer for alter table set properties commands.
|
class |
AlterTableUnsetPropertiesAnalyzer
Analyzer for alter table unset properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterTableRenameAnalyzer
Analyzer for rename table like entities commands.
|
class |
AlterTableRenameAnalyzer
Analyzer for rename table commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableTouchAnalyzer
Analyzer for touch commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TruncateTableAnalyzer
Analyzer for truncate table commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableAddPartitionAnalyzer
Analyzer for add partition commands for tables.
|
class |
AlterViewAddPartitionAnalyzer
Analyzer for add partition commands for views.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableAlterPartitionAnalyzer
Analyzer for alter partition commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableDropPartitionAnalyzer
Analyzer for drop partition commands for tables.
|
class |
AlterViewDropPartitionAnalyzer
Analyzer for drop partition commands for views.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableExchangePartitionAnalyzer
Analyzer for exchange partition commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableRenamePartitionAnalyzer
Analyzer for rename partition commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetPartitionSpecAnalyzer
Analyzer for set partition spec commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowPartitionAnalyzer
Analyzer for show partition commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAlterTableArchiveAnalyzer
Abstract ancestor of analyzer for archive / unarchive commands for tables.
|
class |
AlterTableArchiveAnalyzer
Analyzer for archive commands for tables.
|
class |
AlterTableUnarchiveAnalyzer
Analyzer for unarchive commands for tables.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableClusterSortAnalyzer
Analyzer for table cluster sort commands.
|
class |
AlterTableIntoBucketsAnalyzer
Analyzer for set bucket number commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableCompactAnalyzer
Analyzer for compact commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableConcatenateAnalyzer
Analyzer for compact commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetSerdeAnalyzer
Analyzer for set serde commands.
|
class |
AlterTableSetSerdePropsAnalyzer
Analyzer for set serde properties commands.
|
class |
AlterTableUnsetSerdePropsAnalyzer
Analyzer for unset serde properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetFileFormatAnalyzer
Analyzer for set file format commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetLocationAnalyzer
Analyzer for set location commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterTableSetSkewedLocationAnalyzer
Analyzer for set skewed location commands.
|
class |
AlterTableSkewedByAnalyzer
Analyzer for skewed table commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCreateViewAnalyzer
Abstract ancestor of analyzers that can create a view.
|
class |
AlterViewAsAnalyzer
Analyzer for alter view ...
|
class |
CreateViewAnalyzer
Analyzer for create view commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropViewAnalyzer
Analyzer for drop view commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterMaterializedViewRebuildAnalyzer
Analyzer for alter materialized view rebuild commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterMaterializedViewRewriteAnalyzer
Analyzer for alter materialized view rewrite commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropMaterializedViewAnalyzer
Analyzer for drop materialized view commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowMaterializedViewsAnalyzer
Analyzer for show materialized views commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterViewSetPropertiesAnalyzer
Analyzer for alter view set properties commands.
|
class |
AlterViewUnsetPropertiesAnalyzer
Analyzer for alter view unset properties commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterViewRenameAnalyzer
Analyzer for rename view commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowViewsAnalyzer
Analyzer for show views commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractVMMappingAnalyzer
Abstract ancestor of Create and Alter WM Mapping analyzers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterWMMappingAnalyzer
Analyzer for alter mapping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateWMMappingAnalyzer
Analyzer for create mapping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropWMMappingAnalyzer
Analyzer for drop mapping commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterWMPoolAnalyzer
Analyzer for alter pool commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateWMPoolAnalyzer
Analyzer for create pool commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropWMPoolAnalyzer
Analyzer for drop pool commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanDisableAnalyzer
Analyzer for disable resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanEnableAnalyzer
Analyzer for enable resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanRenameAnalyzer
Analyzer for alter resource plan rename commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanReplaceAnalyzer
Analyzer for replace resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanSetAnalyzer
Analyzer for alter resource plan set commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanUnsetAnalyzer
Analyzer for alter resource plan unset commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterResourcePlanValidateAnalyzer
Analyzer for alter resource plan validate commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateResourcePlanAnalyzer
Analyzer for create resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropResourcePlanAnalyzer
Analyzer for drop resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShowResourcePlanAnalyzer
Analyzer for show resource plan commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterWMTriggerAnalyzer
Analyzer for alter trigger commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateWMTriggerAnalyzer
Analyzer for create trigger commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropWMTriggerAnalyzer
Analyzer for drop trigger commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterPoolAddTriggerAnalyzer
Analyzer for alter pool add trigger commands.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlterPoolDropTriggerAnalyzer
Analyzer for alter pool drop trigger commands.
|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AcidExportSemanticAnalyzer
A subclass of the
SemanticAnalyzer that just handles
acid export statements. |
class |
CalcitePlanner |
class |
ColumnStatsSemanticAnalyzer
ColumnStatsSemanticAnalyzer.
|
class |
ExecuteStatementAnalyzer
Analyzer for Execute statement.
|
class |
ExplainSemanticAnalyzer
ExplainSemanticAnalyzer.
|
class |
ExplainSQRewriteSemanticAnalyzer |
class |
ExportSemanticAnalyzer
ExportSemanticAnalyzer.
|
class |
ImportSemanticAnalyzer
ImportSemanticAnalyzer.
|
class |
LoadSemanticAnalyzer
LoadSemanticAnalyzer.
|
class |
MergeSemanticAnalyzer
A subclass of the
SemanticAnalyzer that just handles
merge statements. |
class |
PrepareStatementAnalyzer
Analyzer for Prepare queries.
|
class |
ReplicationSemanticAnalyzer |
class |
RewriteSemanticAnalyzer
A subclass of the
SemanticAnalyzer that just handles
update, delete and merge statements. |
class |
ScheduledQueryAnalyzer |
class |
SemanticAnalyzer
Implementation of the semantic analyzer.
|
class |
SplitMergeSemanticAnalyzer
A subclass of the
MergeSemanticAnalyzer that just handles
merge statements. |
class |
SplitUpdateSemanticAnalyzer
A subclass of the
SemanticAnalyzer that just handles
update statements. |
class |
UpdateDeleteSemanticAnalyzer
A subclass of the
SemanticAnalyzer that just handles
update and delete statements. |
| Modifier and Type | Method and Description |
|---|---|
static BaseSemanticAnalyzer |
SemanticAnalyzerFactory.get(QueryState queryState,
ASTNode tree) |
| Modifier and Type | Method and Description |
|---|---|
static Table |
AnalyzeCommandUtils.getTable(ASTNode tree,
BaseSemanticAnalyzer sa) |
void |
HiveSemanticAnalyzerHookContext.update(BaseSemanticAnalyzer sem)
This should be called after the semantic analyzer completes.
|
void |
HiveSemanticAnalyzerHookContextImpl.update(BaseSemanticAnalyzer sem) |
| Modifier and Type | Method and Description |
|---|---|
BaseSemanticAnalyzer |
ExplainWork.getAnalyzer() |
| Constructor and Description |
|---|
ExplainWork(org.apache.hadoop.fs.Path resFile,
ParseContext pCtx,
List<Task<?>> rootTasks,
Task<?> fetchTask,
ASTNode astTree,
BaseSemanticAnalyzer analyzer,
ExplainConfiguration config,
String cboInfo,
String optimizedSQL,
String cboPlan) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CommandAuthorizer.doAuthorization(HiveOperation op,
BaseSemanticAnalyzer sem,
String command) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.