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