| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql | |
| 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.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.session | |
| org.apache.hadoop.hive.ql.stats | |
| org.apache.hadoop.hive.ql.txn.compactor |
| Modifier and Type | Method and Description |
|---|---|
static SessionState |
DriverUtils.setUpSessionState(HiveConf conf,
String user,
boolean doStart) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DriverUtils.runOnDriver(HiveConf conf,
SessionState sessionState,
String query) |
static void |
DriverUtils.runOnDriver(HiveConf conf,
SessionState sessionState,
String query,
long analyzeTableWriteId)
For Statistics gathering after compaction.
|
static void |
DriverUtils.runOnDriver(HiveConf conf,
SessionState sessionState,
String query,
ValidWriteIdList writeIds,
long compactorTxnId)
For Query Based compaction to run the query to generate the compacted data.
|
| Modifier and Type | Field and Description |
|---|---|
protected SessionState |
TaskRunner.ss |
| Modifier and Type | Method and Description |
|---|---|
void |
HadoopJobExecHook.logPlanProgress(SessionState ss) |
void |
ExecDriver.logPlanProgress(SessionState ss) |
| Constructor and Description |
|---|
HiveHistoryImpl(SessionState ss)
Construct HiveHistoryImpl object and open history log file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EnforceReadOnlyTables.run(SessionState sess,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean isExplain) |
| Modifier and Type | Method and Description |
|---|---|
void |
MergeFileTask.logPlanProgress(SessionState ss) |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnTruncateTask.logPlanProgress(SessionState ss) |
| Modifier and Type | Method and Description |
|---|---|
static SessionState |
SessionState.get()
get the current session.
|
static SessionState |
SessionState.start(HiveConf conf)
start a new session and set it to current session.
|
static SessionState |
SessionState.start(SessionState startSs)
set current session to existing session object if a thread is running
multiple sessions - it must call this method with the new session object
when switching from one session to another.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SessionState.beginStart(SessionState startSs,
SessionState.LogHelper console) |
static void |
SessionState.endStart(SessionState startSs) |
static void |
SessionState.setCurrentSessionState(SessionState startSs)
Sets the given session state in the thread local var for sessions.
|
static SessionState |
SessionState.start(SessionState startSs)
set current session to existing session object if a thread is running
multiple sessions - it must call this method with the new session object
when switching from one session to another.
|
void |
SessionState.updateHistory(boolean historyEnabled,
SessionState ss)
Update the history if set hive.session.history.enabled
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StatsUpdaterThread.runOneWorkerIteration(SessionState ss,
String user,
HiveConf conf,
boolean doWait) |
| Modifier and Type | Method and Description |
|---|---|
protected SessionState |
QueryCompactor.setupQueryCompactionSession(HiveConf conf,
CompactionInfo compactionInfo,
Map<String,String> tblProperties) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.