public abstract class CLIServiceClient extends Object implements ICLIService
| Modifier and Type | Field and Description |
|---|---|
protected int |
defaultFetchRows |
| Constructor and Description |
|---|
CLIServiceClient(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cancelDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
RowSet |
fetchResults(OperationHandle opHandle) |
abstract String |
getDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String owner,
String renewer) |
SessionHandle |
openSession(String username,
String password) |
abstract void |
renewDelegationToken(SessionHandle sessionHandle,
HiveAuthFactory authFactory,
String tokenStr) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelOperation, closeOperation, closeSession, executeStatement, executeStatement, executeStatementAsync, executeStatementAsync, fetchResults, getCatalogs, getColumns, getCrossReference, getFunctions, getInfo, getOperationStatus, getPrimaryKeys, getQueryId, getResultSetMetadata, getSchemas, getTables, getTableTypes, getTypeInfo, openSession, openSessionWithImpersonation, setApplicationNamepublic CLIServiceClient(org.apache.hadoop.conf.Configuration conf)
public SessionHandle openSession(String username, String password) throws HiveSQLException
HiveSQLExceptionpublic RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
fetchResults in interface ICLIServiceHiveSQLExceptionpublic abstract String getDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String owner, String renewer) throws HiveSQLException
getDelegationToken in interface ICLIServiceHiveSQLExceptionpublic abstract void cancelDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
cancelDelegationToken in interface ICLIServiceHiveSQLExceptionpublic abstract void renewDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
renewDelegationToken in interface ICLIServiceHiveSQLExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.