public abstract class CLIServiceClient extends java.lang.Object implements ICLIService
| Constructor and Description |
|---|
CLIServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cancelOperation(OperationHandle opHandle) |
abstract void |
closeOperation(OperationHandle opHandle) |
abstract void |
closeSession(SessionHandle sessionHandle) |
abstract OperationHandle |
executeStatement(SessionHandle sessionHandle,
java.lang.String statement,
java.util.Map<java.lang.String,java.lang.String> confOverlay) |
abstract OperationHandle |
executeStatementAsync(SessionHandle sessionHandle,
java.lang.String statement,
java.util.Map<java.lang.String,java.lang.String> confOverlay) |
RowSet |
fetchResults(OperationHandle opHandle) |
abstract RowSet |
fetchResults(OperationHandle opHandle,
FetchOrientation orientation,
long maxRows) |
abstract OperationHandle |
getCatalogs(SessionHandle sessionHandle) |
abstract OperationHandle |
getColumns(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName) |
abstract OperationHandle |
getFunctions(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String functionName) |
abstract GetInfoValue |
getInfo(SessionHandle sessionHandle,
GetInfoType getInfoType) |
abstract OperationState |
getOperationStatus(OperationHandle opHandle) |
abstract TableSchema |
getResultSetMetadata(OperationHandle opHandle) |
abstract OperationHandle |
getSchemas(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName) |
abstract OperationHandle |
getTables(SessionHandle sessionHandle,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.util.List<java.lang.String> tableTypes) |
abstract OperationHandle |
getTableTypes(SessionHandle sessionHandle) |
abstract OperationHandle |
getTypeInfo(SessionHandle sessionHandle) |
SessionHandle |
openSession(java.lang.String username,
java.lang.String password) |
abstract SessionHandle |
openSession(java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> configuration) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopenSessionWithImpersonationpublic abstract SessionHandle openSession(java.lang.String username, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> configuration) throws HiveSQLException
openSession in interface ICLIServiceHiveSQLExceptionpublic SessionHandle openSession(java.lang.String username, java.lang.String password) throws HiveSQLException
HiveSQLExceptionpublic abstract void closeSession(SessionHandle sessionHandle) throws HiveSQLException
closeSession in interface ICLIServiceHiveSQLExceptionpublic abstract GetInfoValue getInfo(SessionHandle sessionHandle, GetInfoType getInfoType) throws HiveSQLException
getInfo in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle executeStatement(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
executeStatement in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle executeStatementAsync(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
executeStatementAsync in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
getTypeInfo in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
getCatalogs in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getSchemas(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName) throws HiveSQLException
getSchemas in interface ICLIServiceHiveSQLExceptionpublic abstract 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
getTables in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
getTableTypes in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getColumns(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName) throws HiveSQLException
getColumns in interface ICLIServiceHiveSQLExceptionpublic abstract OperationHandle getFunctions(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String functionName) throws HiveSQLException
getFunctions in interface ICLIServiceHiveSQLExceptionpublic abstract OperationState getOperationStatus(OperationHandle opHandle) throws HiveSQLException
getOperationStatus in interface ICLIServiceHiveSQLExceptionpublic abstract void cancelOperation(OperationHandle opHandle) throws HiveSQLException
cancelOperation in interface ICLIServiceHiveSQLExceptionpublic abstract void closeOperation(OperationHandle opHandle) throws HiveSQLException
closeOperation in interface ICLIServiceHiveSQLExceptionpublic abstract TableSchema getResultSetMetadata(OperationHandle opHandle) throws HiveSQLException
getResultSetMetadata in interface ICLIServiceHiveSQLExceptionpublic abstract RowSet fetchResults(OperationHandle opHandle, FetchOrientation orientation, long maxRows) throws HiveSQLException
fetchResults in interface ICLIServiceHiveSQLExceptionpublic RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
fetchResults in interface ICLIServiceHiveSQLExceptionCopyright © 2012 The Apache Software Foundation