public class CliSessionState extends SessionState
SessionState.AuthorizationMode, SessionState.LogHelper, SessionState.ResourceType
Modifier and Type | Field and Description |
---|---|
Properties |
cmdProperties
properties set from -hiveconf via cmdline.
|
String |
database
-database option if any that the session has been invoked with.
|
String |
execString
-e option if any that the session has been invoked with.
|
String |
fileName
-f option if any that the session has been invoked with.
|
List<String> |
initFiles
-i option if any that the session has been invoked with.
|
childErr, childOut, conf, err, hiveHist, in, info, isSilent, isVerbose, NO_CURRENT_TXN, out, parentLoader, tmpOutputFile
Constructor and Description |
---|
CliSessionState(HiveConf conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
add_resource, add_resource, add_resources, add_resources, addLocalMapRedErrors, applyAuthorizationPolicy, canDownloadResource, delete_resources, delete_resources, detachSession, find_resource_type, get, getActiveAuthorizer, getAuthenticator, getAuthorizationMode, getAuthorizer, getAuthorizerInterface, getAuthorizerV2, getCmd, getCommandType, getConf, getConsole, getCreateTableGrants, getCurrentDatabase, getCurrentTxn, getHdfsEncryptionShim, getHdfsScratchDirURIString, getHDFSSessionPath, getHiveHistory, getHiveOperation, getHiveVariables, getIsSilent, getIsVerbose, getLastCommand, getLineageState, getLocalMapRedErrors, getLocalSessionPath, getMapRedStats, getNextValuesTempTableSuffix, getOverriddenConfigurations, getPerfLogger, getQueryCurrentTimestamp, getQueryId, getRegistry, getRegistryForWrite, getSessionConf, getSessionId, getSparkSession, getStackTraces, getTempTableColStats, getTempTables, getTempTableSpace, getTempTableSpace, getTezSession, getTmpOutputFile, getTxnMgr, getUserFromAuthenticator, getUserIpAddress, getUserName, initTxnMgr, isAuthorizationModeV2, isAutoCommit, isHiveServerQuery, list_resource, reloadAuxJars, setActiveAuthorizer, setAuthenticator, setAuthorizer, setCmd, setCommandType, setConf, setCreateTableGrants, setCurrentDatabase, setCurrentSessionState, setCurrentTxn, setHiveVariables, setIsHiveServerQuery, setIsSilent, setIsVerbose, setLastCommand, setLocalMapRedErrors, setMapRedStats, setOverriddenConfigurations, setSparkSession, setStackTraces, setTezSession, setTmpOutputFile, setupQueryCurrentTimestamp, setUserIpAddress, start, start
public String database
public String execString
public String fileName
public Properties cmdProperties
public CliSessionState(HiveConf conf)
public void close()
close
in class SessionState
Copyright © 2017 The Apache Software Foundation. All rights reserved.