public interface ICLIService
SessionHandle openSession(String username, String password, Map<String,String> configuration) throws HiveSQLException
HiveSQLException
SessionHandle openSessionWithImpersonation(String username, String password, Map<String,String> configuration, String delegationToken) throws HiveSQLException
HiveSQLException
void closeSession(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
GetInfoValue getInfo(SessionHandle sessionHandle, GetInfoType infoType) throws HiveSQLException
HiveSQLException
OperationHandle executeStatement(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay) throws HiveSQLException
HiveSQLException
OperationHandle executeStatementAsync(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay) throws HiveSQLException
HiveSQLException
OperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getSchemas(SessionHandle sessionHandle, String catalogName, String schemaName) throws HiveSQLException
HiveSQLException
OperationHandle getTables(SessionHandle sessionHandle, String catalogName, String schemaName, String tableName, List<String> tableTypes) throws HiveSQLException
HiveSQLException
OperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getColumns(SessionHandle sessionHandle, String catalogName, String schemaName, String tableName, String columnName) throws HiveSQLException
HiveSQLException
OperationHandle getFunctions(SessionHandle sessionHandle, String catalogName, String schemaName, String functionName) throws HiveSQLException
HiveSQLException
OperationStatus getOperationStatus(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
void cancelOperation(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
void closeOperation(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
TableSchema getResultSetMetadata(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
RowSet fetchResults(OperationHandle opHandle, FetchOrientation orientation, long maxRows, FetchType fetchType) throws HiveSQLException
HiveSQLException
String getDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String owner, String renewer) throws HiveSQLException
HiveSQLException
void cancelDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
HiveSQLException
void renewDelegationToken(SessionHandle sessionHandle, HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException
HiveSQLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.