public interface HiveSessionBase
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
List<String> |
getForwardedAddresses() |
HiveConf |
getHiveConf() |
String |
getIpAddress() |
long |
getLastAccessTime() |
int |
getOpenOperationCount() |
File |
getOperationLogSessionDir()
Get the session dir, which is the parent dir of operation logs
|
String |
getPassword() |
TProtocolVersion |
getProtocolVersion() |
SessionHandle |
getSessionHandle() |
SessionManager |
getSessionManager()
Get the session manager for the session
|
SessionState |
getSessionState() |
String |
getUserName() |
boolean |
isOperationLogEnabled()
Check whether operation logging is enabled and session dir is created successfully
|
void |
setForwardedAddresses(List<String> forwardedAddresses) |
void |
setIpAddress(String ipAddress) |
void |
setOperationLogSessionDir(File operationLogRootDir)
Set the session dir, which is the parent dir of operation logs
|
void |
setOperationManager(OperationManager operationManager)
Set operation manager for the session
|
void |
setSessionManager(SessionManager sessionManager)
Set the session manager for the session
|
void |
setUserName(String userName) |
TProtocolVersion getProtocolVersion()
void setSessionManager(SessionManager sessionManager)
sessionManager
- SessionManager getSessionManager()
void setOperationManager(OperationManager operationManager)
operationManager
- boolean isOperationLogEnabled()
File getOperationLogSessionDir()
void setOperationLogSessionDir(File operationLogRootDir)
operationLogRootDir
- the parent dir of the session dirSessionHandle getSessionHandle()
String getPassword()
HiveConf getHiveConf()
SessionState getSessionState()
String getUserName()
void setUserName(String userName)
String getIpAddress()
void setIpAddress(String ipAddress)
long getLastAccessTime()
long getCreationTime()
int getOpenOperationCount()
Copyright © 2022 The Apache Software Foundation. All rights reserved.