Package | Description |
---|---|
org.apache.hive.service.cli | |
org.apache.hive.service.cli.session | |
org.apache.hive.service.cli.thrift |
Modifier and Type | Method and Description |
---|---|
SessionHandle |
CLIServiceClient.openSession(String username,
String password) |
SessionHandle |
CLIService.openSession(String username,
String password,
Map<String,String> configuration) |
SessionHandle |
ICLIService.openSession(String username,
String password,
Map<String,String> configuration) |
SessionHandle |
EmbeddedCLIServiceClient.openSession(String username,
String password,
Map<String,String> configuration) |
SessionHandle |
CLIService.openSession(TProtocolVersion protocol,
String username,
String password,
Map<String,String> configuration)
|
SessionHandle |
CLIService.openSession(TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> configuration) |
SessionHandle |
CLIService.openSessionWithImpersonation(String username,
String password,
Map<String,String> configuration,
String delegationToken) |
SessionHandle |
ICLIService.openSessionWithImpersonation(String username,
String password,
Map<String,String> configuration,
String delegationToken) |
SessionHandle |
EmbeddedCLIServiceClient.openSessionWithImpersonation(String username,
String password,
Map<String,String> configuration,
String delegationToken) |
SessionHandle |
CLIService.openSessionWithImpersonation(TProtocolVersion protocol,
String username,
String password,
Map<String,String> configuration,
String delegationToken)
|
SessionHandle |
CLIService.openSessionWithImpersonation(TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> configuration,
String delegationToken) |
Modifier and Type | Method and Description |
---|---|
abstract void |
CLIServiceClient.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
CLIService.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
ICLIService.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
EmbeddedCLIServiceClient.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
CLIService.closeSession(SessionHandle sessionHandle) |
void |
ICLIService.closeSession(SessionHandle sessionHandle) |
void |
EmbeddedCLIServiceClient.closeSession(SessionHandle sessionHandle) |
void |
CLIService.createSessionWithSessionHandle(SessionHandle sessionHandle,
String username,
String password,
Map<String,String> configuration)
Used to restore session
|
OperationHandle |
CLIService.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay)
Execute statement on the server.
|
OperationHandle |
ICLIService.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
EmbeddedCLIServiceClient.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
CLIService.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout)
Execute statement on the server with a timeout.
|
OperationHandle |
ICLIService.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
EmbeddedCLIServiceClient.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
CLIService.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay)
Execute statement asynchronously on the server.
|
OperationHandle |
ICLIService.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
EmbeddedCLIServiceClient.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
CLIService.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout)
Execute statement asynchronously on the server with a timeout.
|
OperationHandle |
ICLIService.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
EmbeddedCLIServiceClient.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
CLIService.getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
ICLIService.getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
EmbeddedCLIServiceClient.getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
CLIService.getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName) |
OperationHandle |
ICLIService.getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName) |
OperationHandle |
EmbeddedCLIServiceClient.getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName) |
OperationHandle |
CLIService.getCrossReference(SessionHandle sessionHandle,
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
OperationHandle |
ICLIService.getCrossReference(SessionHandle sessionHandle,
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
OperationHandle |
EmbeddedCLIServiceClient.getCrossReference(SessionHandle sessionHandle,
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
abstract String |
CLIServiceClient.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
String |
CLIService.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
String |
ICLIService.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
String |
EmbeddedCLIServiceClient.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
OperationHandle |
CLIService.getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName) |
OperationHandle |
ICLIService.getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName) |
OperationHandle |
EmbeddedCLIServiceClient.getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName) |
GetInfoValue |
CLIService.getInfo(SessionHandle sessionHandle,
GetInfoType getInfoType) |
GetInfoValue |
ICLIService.getInfo(SessionHandle sessionHandle,
GetInfoType infoType) |
GetInfoValue |
EmbeddedCLIServiceClient.getInfo(SessionHandle sessionHandle,
GetInfoType getInfoType) |
OperationHandle |
CLIService.getPrimaryKeys(SessionHandle sessionHandle,
String catalog,
String schema,
String table) |
OperationHandle |
ICLIService.getPrimaryKeys(SessionHandle sessionHandle,
String catalog,
String schema,
String table) |
OperationHandle |
EmbeddedCLIServiceClient.getPrimaryKeys(SessionHandle sessionHandle,
String catalog,
String schema,
String table) |
OperationHandle |
CLIService.getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName) |
OperationHandle |
ICLIService.getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName) |
OperationHandle |
EmbeddedCLIServiceClient.getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName) |
HiveConf |
CLIService.getSessionConf(SessionHandle sessionHandle) |
OperationHandle |
CLIService.getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes) |
OperationHandle |
ICLIService.getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes) |
OperationHandle |
EmbeddedCLIServiceClient.getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes) |
OperationHandle |
CLIService.getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
ICLIService.getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
EmbeddedCLIServiceClient.getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
CLIService.getTypeInfo(SessionHandle sessionHandle) |
OperationHandle |
ICLIService.getTypeInfo(SessionHandle sessionHandle) |
OperationHandle |
EmbeddedCLIServiceClient.getTypeInfo(SessionHandle sessionHandle) |
abstract void |
CLIServiceClient.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
CLIService.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
ICLIService.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
EmbeddedCLIServiceClient.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
CLIService.setApplicationName(SessionHandle sh,
String value) |
void |
ICLIService.setApplicationName(SessionHandle sh,
String value) |
void |
EmbeddedCLIServiceClient.setApplicationName(SessionHandle sh,
String value) |
Modifier and Type | Method and Description |
---|---|
SessionHandle |
HiveSessionImpl.getSessionHandle() |
SessionHandle |
HiveSessionBase.getSessionHandle() |
SessionHandle |
SessionManager.openSession(TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> sessionConf) |
SessionHandle |
SessionManager.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.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionManager.closeSession(SessionHandle sessionHandle) |
HiveSession |
SessionManager.createSession(SessionHandle sessionHandle,
TProtocolVersion protocol,
String username,
String password,
String ipAddress,
Map<String,String> sessionConf,
boolean withImpersonation,
String delegationToken) |
HiveSession |
SessionManager.getSession(SessionHandle sessionHandle) |
Constructor and Description |
---|
HiveSessionImpl(SessionHandle sessionHandle,
TProtocolVersion protocol,
String username,
String password,
HiveConf serverConf,
String ipAddress,
List<String> forwardedAddresses) |
HiveSessionImplwithUGI(SessionHandle sessionHandle,
TProtocolVersion protocol,
String username,
String password,
HiveConf hiveConf,
String ipAddress,
String delegationToken,
List<String> forwardedAddresses) |
Modifier and Type | Method and Description |
---|---|
SessionHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.openSession(String username,
String password) |
SessionHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.openSession(String username,
String password,
Map<String,String> configuration) |
SessionHandle |
ThriftCLIServiceClient.openSession(String username,
String password,
Map<String,String> configuration) |
SessionHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.openSessionWithImpersonation(String username,
String password,
Map<String,String> configuration,
String delegationToken) |
SessionHandle |
ThriftCLIServiceClient.openSessionWithImpersonation(String username,
String password,
Map<String,String> configuration,
String delegationToken) |
Modifier and Type | Method and Description |
---|---|
void |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
ThriftCLIServiceClient.cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.closeSession(SessionHandle sessionHandle) |
void |
ThriftCLIServiceClient.closeSession(SessionHandle sessionHandle) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
ThriftCLIServiceClient.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
ThriftCLIServiceClient.executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
ThriftCLIServiceClient.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
ThriftCLIServiceClient.executeStatementAsync(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay,
long queryTimeout) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
ThriftCLIServiceClient.getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName) |
OperationHandle |
ThriftCLIServiceClient.getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getCrossReference(SessionHandle sessionHandle,
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
OperationHandle |
ThriftCLIServiceClient.getCrossReference(SessionHandle sessionHandle,
String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable) |
String |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
String |
ThriftCLIServiceClient.getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName) |
OperationHandle |
ThriftCLIServiceClient.getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName) |
GetInfoValue |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getInfo(SessionHandle sessionHandle,
GetInfoType getInfoType) |
GetInfoValue |
ThriftCLIServiceClient.getInfo(SessionHandle sessionHandle,
GetInfoType infoType) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getPrimaryKeys(SessionHandle sessionHandle,
String catalog,
String schema,
String table) |
OperationHandle |
ThriftCLIServiceClient.getPrimaryKeys(SessionHandle sessionHandle,
String catalog,
String schema,
String table) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName) |
OperationHandle |
ThriftCLIServiceClient.getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes) |
OperationHandle |
ThriftCLIServiceClient.getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
ThriftCLIServiceClient.getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.getTypeInfo(SessionHandle sessionHandle) |
OperationHandle |
ThriftCLIServiceClient.getTypeInfo(SessionHandle sessionHandle) |
void |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
ThriftCLIServiceClient.renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
void |
RetryingThriftCLIServiceClient.CLIServiceClientWrapper.setApplicationName(SessionHandle sh,
String value) |
void |
ThriftCLIServiceClient.setApplicationName(SessionHandle sh,
String value) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.