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
HiveSQLExceptionSessionHandle 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
HiveSQLExceptionvoid closeSession(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionGetInfoValue getInfo(SessionHandle sessionHandle, GetInfoType infoType) throws HiveSQLException
HiveSQLExceptionOperationHandle executeStatement(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
HiveSQLExceptionOperationHandle executeStatementAsync(SessionHandle sessionHandle, java.lang.String statement, java.util.Map<java.lang.String,java.lang.String> confOverlay) throws HiveSQLException
HiveSQLExceptionOperationHandle getTypeInfo(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionOperationHandle getCatalogs(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionOperationHandle getSchemas(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName) throws HiveSQLException
HiveSQLExceptionOperationHandle getTables(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.util.List<java.lang.String> tableTypes) throws HiveSQLException
HiveSQLExceptionOperationHandle getTableTypes(SessionHandle sessionHandle) throws HiveSQLException
HiveSQLExceptionOperationHandle getColumns(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName) throws HiveSQLException
HiveSQLExceptionOperationHandle getFunctions(SessionHandle sessionHandle, java.lang.String catalogName, java.lang.String schemaName, java.lang.String functionName) throws HiveSQLException
HiveSQLExceptionOperationState 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, FetchOrientation orientation, long maxRows) throws HiveSQLException
HiveSQLExceptionRowSet fetchResults(OperationHandle opHandle) throws HiveSQLException
HiveSQLExceptionCopyright © 2012 The Apache Software Foundation