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, wait
openSessionWithImpersonation
public 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 ICLIService
HiveSQLException
public SessionHandle openSession(java.lang.String username, java.lang.String password) throws HiveSQLException
HiveSQLException
public abstract void closeSession(SessionHandle sessionHandle) throws HiveSQLException
closeSession
in interface ICLIService
HiveSQLException
public abstract GetInfoValue getInfo(SessionHandle sessionHandle, GetInfoType getInfoType) throws HiveSQLException
getInfo
in interface ICLIService
HiveSQLException
public abstract OperationHandle executeStatement(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
executeStatement
in interface ICLIService
HiveSQLException
public abstract OperationHandle executeStatementAsync(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
executeStatementAsync
in interface ICLIService
HiveSQLException
public abstract OperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
getTypeInfo
in interface ICLIService
HiveSQLException
public abstract OperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
getCatalogs
in interface ICLIService
HiveSQLException
public abstract OperationHandle getSchemas(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName) throws HiveSQLException
getSchemas
in interface ICLIService
HiveSQLException
public 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 ICLIService
HiveSQLException
public abstract OperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
getTableTypes
in interface ICLIService
HiveSQLException
public 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 ICLIService
HiveSQLException
public abstract OperationHandle getFunctions(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String functionName) throws HiveSQLException
getFunctions
in interface ICLIService
HiveSQLException
public abstract OperationState getOperationStatus(OperationHandle opHandle) throws HiveSQLException
getOperationStatus
in interface ICLIService
HiveSQLException
public abstract void cancelOperation(OperationHandle opHandle) throws HiveSQLException
cancelOperation
in interface ICLIService
HiveSQLException
public abstract void closeOperation(OperationHandle opHandle) throws HiveSQLException
closeOperation
in interface ICLIService
HiveSQLException
public abstract TableSchema getResultSetMetadata(OperationHandle opHandle) throws HiveSQLException
getResultSetMetadata
in interface ICLIService
HiveSQLException
public abstract RowSet fetchResults(OperationHandle opHandle, FetchOrientation orientation, long maxRows) throws HiveSQLException
fetchResults
in interface ICLIService
HiveSQLException
public RowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
fetchResults
in interface ICLIService
HiveSQLException
Copyright © 2012 The Apache Software Foundation