public interface HiveSessionBase
Modifier and Type | Method and Description |
---|---|
HiveConf |
getHiveConf() |
String |
getIpAddress() |
long |
getLastAccessTime() |
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() |
String |
getUserName() |
boolean |
isOperationLogEnabled()
Check whether operation logging is enabled and session dir is created successfully
|
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 getUsername()
String getPassword()
HiveConf getHiveConf()
SessionState getSessionState()
String getUserName()
void setUserName(String userName)
String getIpAddress()
void setIpAddress(String ipAddress)
long getLastAccessTime()
Copyright © 2017 The Apache Software Foundation. All rights reserved.