public abstract class CLIServiceClient extends Object implements ICLIService
Constructor and Description |
---|
CLIServiceClient() |
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, wait
cancelOperation, closeOperation, closeSession, executeStatement, executeStatementAsync, fetchResults, getCatalogs, getColumns, getFunctions, getInfo, getOperationStatus, getResultSetMetadata, getSchemas, getTables, getTableTypes, getTypeInfo, openSession, openSessionWithImpersonation
public SessionHandle openSession(String username, String password) throws HiveSQLException
HiveSQLException
public RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
fetchResults
in interface ICLIService
HiveSQLException
public abstract String getDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String owner, String renewer) throws HiveSQLException
getDelegationToken
in interface ICLIService
HiveSQLException
public abstract void cancelDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
cancelDelegationToken
in interface ICLIService
HiveSQLException
public abstract void renewDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
renewDelegationToken
in interface ICLIService
HiveSQLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.