public interface ICLIService
Modifier and Type | Method and Description |
---|---|
void |
cancelOperation(OperationHandle opHandle) |
void |
closeOperation(OperationHandle opHandle) |
void |
closeSession(SessionHandle sessionHandle) |
OperationHandle |
executeStatement(SessionHandle sessionHandle,
java.lang.String statement,
java.util.Map<java.lang.String,java.lang.String> confOverlay) |
OperationHandle |
executeStatementAsync(SessionHandle sessionHandle,
java.lang.String statement,
java.util.Map<java.lang.String,java.lang.String> confOverlay) |
RowSet |
fetchResults(OperationHandle opHandle) |
RowSet |
fetchResults(OperationHandle opHandle,
FetchOrientation orientation,
long maxRows) |
OperationHandle |
getCatalogs(SessionHandle sessionHandle) |
OperationHandle |
getColumns(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName) |
OperationHandle |
getFunctions(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String functionName) |
GetInfoValue |
getInfo(SessionHandle sessionHandle,
GetInfoType infoType) |
OperationState |
getOperationStatus(OperationHandle opHandle) |
TableSchema |
getResultSetMetadata(OperationHandle opHandle) |
OperationHandle |
getSchemas(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName) |
OperationHandle |
getTables(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.util.List<java.lang.String> tableTypes) |
OperationHandle |
getTableTypes(SessionHandle sessionHandle) |
OperationHandle |
getTypeInfo(SessionHandle sessionHandle) |
SessionHandle |
openSession(java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> configuration) |
SessionHandle |
openSessionWithImpersonation(java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> configuration,
java.lang.String delegationToken) |
SessionHandle openSession(java.lang.String username, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> configuration) throws HiveSQLException
HiveSQLException
SessionHandle openSessionWithImpersonation(java.lang.String username, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> configuration, java.lang.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, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
HiveSQLException
OperationHandle executeStatementAsync(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
HiveSQLException
OperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getSchemas(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName) throws HiveSQLException
HiveSQLException
OperationHandle getTables(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.util.List<java.lang.String> tableTypes) throws HiveSQLException
HiveSQLException
OperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLException
OperationHandle getColumns(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName) throws HiveSQLException
HiveSQLException
OperationHandle getFunctions(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String functionName) throws HiveSQLException
HiveSQLException
OperationState 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, FetchOrientation orientation, long maxRows) throws HiveSQLException
HiveSQLException
RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
HiveSQLException
Copyright © 2012 The Apache Software Foundation