public class EmbeddedCLIServiceClient extends CLIServiceClient
| Constructor and Description |
|---|
EmbeddedCLIServiceClient(ICLIService cliService) |
fetchResults, openSessionpublic EmbeddedCLIServiceClient(ICLIService cliService)
public SessionHandle openSession(String username, String password, Map<String,String> configuration) throws HiveSQLException
HiveSQLExceptionpublic SessionHandle openSessionWithImpersonation(String username, String password, Map<String,String> configuration, String delegationToken) throws HiveSQLException
HiveSQLExceptionpublic void closeSession(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionpublic GetInfoValue getInfo(SessionHandle sessionHandle, GetInfoType getInfoType) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle executeStatement(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle executeStatementAsync(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getSchemas(SessionHandle sessionHandle, String catalogName, String schemaName) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getTables(SessionHandle sessionHandle, String catalogName, String schemaName, String tableName, List<String> tableTypes) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getColumns(SessionHandle sessionHandle, String catalogName, String schemaName, String tableName, String columnName) throws HiveSQLException
HiveSQLExceptionpublic OperationHandle getFunctions(SessionHandle sessionHandle, String catalogName, String schemaName, String functionName) throws HiveSQLException
HiveSQLExceptionpublic OperationStatus getOperationStatus(OperationHandle opHandle) throws HiveSQLException
HiveSQLExceptionpublic void cancelOperation(OperationHandle opHandle) throws HiveSQLException
HiveSQLExceptionpublic void closeOperation(OperationHandle opHandle) throws HiveSQLException
HiveSQLExceptionpublic TableSchema getResultSetMetadata(OperationHandle opHandle) throws HiveSQLException
HiveSQLExceptionpublic RowSet fetchResults(OperationHandle opHandle, FetchOrientation orientation, long maxRows, FetchType fetchType) throws HiveSQLException
HiveSQLExceptionpublic String getDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String owner, String renewer) throws HiveSQLException
getDelegationToken in interface ICLIServicegetDelegationToken in class CLIServiceClientHiveSQLExceptionpublic void cancelDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
cancelDelegationToken in interface ICLIServicecancelDelegationToken in class CLIServiceClientHiveSQLExceptionpublic void renewDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
renewDelegationToken in interface ICLIServicerenewDelegationToken in class CLIServiceClientHiveSQLExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.