org.apache.hive.service.cli
Interface ICLIService
- All Known Implementing Classes:
- CLIService, CLIServiceClient, EmbeddedCLIServiceClient, ThriftCLIServiceClient
public interface ICLIService
Method Summary |
void |
cancelOperation(OperationHandle opHandle)
|
void |
closeOperation(OperationHandle opHandle)
|
void |
closeSession(SessionHandle sessionHandle)
|
OperationHandle |
executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay)
|
RowSet |
fetchResults(OperationHandle opHandle)
|
RowSet |
fetchResults(OperationHandle opHandle,
FetchOrientation orientation,
long maxRows)
|
OperationHandle |
getCatalogs(SessionHandle sessionHandle)
|
OperationHandle |
getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName)
|
OperationHandle |
getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName)
|
GetInfoValue |
getInfo(SessionHandle sessionHandle,
GetInfoType infoType)
|
OperationState |
getOperationStatus(OperationHandle opHandle)
|
TableSchema |
getResultSetMetadata(OperationHandle opHandle)
|
OperationHandle |
getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName)
|
OperationHandle |
getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes)
|
OperationHandle |
getTableTypes(SessionHandle sessionHandle)
|
OperationHandle |
getTypeInfo(SessionHandle sessionHandle)
|
SessionHandle |
openSession(String username,
String password,
Map<String,String> configuration)
|
openSession
SessionHandle openSession(String username,
String password,
Map<String,String> configuration)
throws HiveSQLException
- Throws:
HiveSQLException
closeSession
void closeSession(SessionHandle sessionHandle)
throws HiveSQLException
- Throws:
HiveSQLException
getInfo
GetInfoValue getInfo(SessionHandle sessionHandle,
GetInfoType infoType)
throws HiveSQLException
- Throws:
HiveSQLException
executeStatement
OperationHandle executeStatement(SessionHandle sessionHandle,
String statement,
Map<String,String> confOverlay)
throws HiveSQLException
- Throws:
HiveSQLException
getTypeInfo
OperationHandle getTypeInfo(SessionHandle sessionHandle)
throws HiveSQLException
- Throws:
HiveSQLException
getCatalogs
OperationHandle getCatalogs(SessionHandle sessionHandle)
throws HiveSQLException
- Throws:
HiveSQLException
getSchemas
OperationHandle getSchemas(SessionHandle sessionHandle,
String catalogName,
String schemaName)
throws HiveSQLException
- Throws:
HiveSQLException
getTables
OperationHandle getTables(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
List<String> tableTypes)
throws HiveSQLException
- Throws:
HiveSQLException
getTableTypes
OperationHandle getTableTypes(SessionHandle sessionHandle)
throws HiveSQLException
- Throws:
HiveSQLException
getColumns
OperationHandle getColumns(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String tableName,
String columnName)
throws HiveSQLException
- Throws:
HiveSQLException
getFunctions
OperationHandle getFunctions(SessionHandle sessionHandle,
String catalogName,
String schemaName,
String functionName)
throws HiveSQLException
- Throws:
HiveSQLException
getOperationStatus
OperationState getOperationStatus(OperationHandle opHandle)
throws HiveSQLException
- Throws:
HiveSQLException
cancelOperation
void cancelOperation(OperationHandle opHandle)
throws HiveSQLException
- Throws:
HiveSQLException
closeOperation
void closeOperation(OperationHandle opHandle)
throws HiveSQLException
- Throws:
HiveSQLException
getResultSetMetadata
TableSchema getResultSetMetadata(OperationHandle opHandle)
throws HiveSQLException
- Throws:
HiveSQLException
fetchResults
RowSet fetchResults(OperationHandle opHandle,
FetchOrientation orientation,
long maxRows)
throws HiveSQLException
- Throws:
HiveSQLException
fetchResults
RowSet fetchResults(OperationHandle opHandle)
throws HiveSQLException
- Throws:
HiveSQLException
Copyright © 2013 The Apache Software Foundation