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 executeStatement(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay, long queryTimeout) throws HiveSQLException
HiveSQLExceptionOperationHandle executeStatementAsync(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay) throws HiveSQLException
HiveSQLExceptionOperationHandle executeStatementAsync(SessionHandle sessionHandle, String statement, Map<String,String> confOverlay, long queryTimeout) 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, boolean getProgressUpdate) throws HiveSQLException
HiveSQLExceptionString getQueryId(org.apache.hive.service.rpc.thrift.TOperationHandle operationHandle) 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
HiveSQLExceptionOperationHandle getPrimaryKeys(SessionHandle sessionHandle, String catalog, String schema, String table) throws HiveSQLException
HiveSQLExceptionOperationHandle getCrossReference(SessionHandle sessionHandle, String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws HiveSQLException
HiveSQLExceptionvoid setApplicationName(SessionHandle sh, String value) throws HiveSQLException
HiveSQLExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.