All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static void |
clearForwardedAddresses() |
static void |
clearIpAddress() |
static void |
clearProxyUserName() |
static void |
clearUserName() |
void |
closeSession(SessionHandle sessionHandle) |
HiveSession |
createSession(SessionHandle sessionHandle,
TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> sessionConf,
boolean withImpersonation,
String delegationToken) |
static List<String> |
getForwardedAddresses() |
String |
getHiveServer2HostName() |
static String |
getIpAddress() |
int |
getOpenSessionCount() |
OperationManager |
getOperationManager() |
Collection<Operation> |
getOperations() |
static String |
getProxyUserName() |
HiveSession |
getSession(SessionHandle sessionHandle) |
Collection<HiveSession> |
getSessions() |
static String |
getUserName() |
void |
init(HiveConf hiveConf)
Initialize the service.
|
SessionHandle |
openSession(TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> sessionConf) |
SessionHandle |
openSession(TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> sessionConf,
boolean withImpersonation,
String delegationToken)
Opens a new session and creates a session handle.
|
static void |
setForwardedAddresses(List<String> ipAddress) |
static void |
setIpAddress(String ipAddress) |
static void |
setProxyUserName(String userName) |
static void |
setUserName(String userName) |
void |
start()
Start the service.
|
void |
stop()
Stop the service.
|
Future<?> |
submitBackgroundOperation(Runnable r) |