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, err, hiveHist, in, info, isSilent, isVerbose, out, parentLoader, tmpErrOutputFile, 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, beginStart, closeSparkSession, delete_resources, delete_resources, deleteTmpErrOutputFile, deleteTmpOutputFile, detachSession, endStart, find_resource_type, get, getActiveAuthorizer, getAuthenticator, getAuthorizationMode, getAuthorizer, getAuthorizerInterface, getAuthorizerV2, getCompileLock, getConf, getConsole, getCreateTableGrants, getCurrentDatabase, getForwardedAddresses, getHdfsEncryptionShim, getHdfsScratchDirURIString, getHDFSSessionPath, getHiveHistory, getHiveVariables, getIsSilent, getIsUsingThriftJDBCBinarySerDe, getIsVerbose, getLastCommand, getLineageState, getLocalMapRedErrors, getLocalSessionPath, getMapRedStats, getNextValuesTempTableSuffix, getOverriddenConfigurations, getPerfLogger, getPerfLogger, getQueryCurrentTimestamp, getRegistry, getRegistryForWrite, getResourceDownloader, getSessionConf, getSessionId, getSparkSession, getStackTraces, getTempTableColStats, getTempTables, getTempTableSpace, getTempTableSpace, getTezSession, getTmpErrOutputFile, getTmpOutputFile, getTxnMgr, getUserFromAuthenticator, getUserIpAddress, getUserName, initTxnMgr, isAuthorizationModeV2, isHiveServerQuery, list_resource, reloadAuxJars, resetThreadName, resolveAndDownload, setActiveAuthorizer, setAuthenticator, setAuthorizer, setCreateTableGrants, setCurrentDatabase, setCurrentSessionState, setForwardedAddresses, setHiveVariables, setIsHiveServerQuery, setIsSilent, setIsUsingThriftJDBCBinarySerDe, setIsVerbose, setLastCommand, setLocalMapRedErrors, setMapRedStats, setOverriddenConfigurations, setSparkSession, setStackTraces, setTezSession, setTmpErrOutputFile, setTmpOutputFile, setupQueryCurrentTimestamp, setUserIpAddress, start, start, updateHistory, updateThreadName
public String database
public String execString
public String fileName
public Properties cmdProperties
public CliSessionState(HiveConf conf)
public void close()
close
in class SessionState
Copyright © 2016 The Apache Software Foundation. All rights reserved.