|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HiveSession
Method Summary | |
---|---|
void |
cancelOperation(OperationHandle opHandle)
|
void |
close()
close the session |
void |
closeOperation(OperationHandle opHandle)
|
OperationHandle |
executeStatement(String statement,
Map<String,String> confOverlay)
execute operation handler |
RowSet |
fetchResults(OperationHandle opHandle)
|
RowSet |
fetchResults(OperationHandle opHandle,
FetchOrientation orientation,
long maxRows)
|
OperationHandle |
getCatalogs()
getCatalogs operation handler |
OperationHandle |
getColumns(String catalogName,
String schemaName,
String tableName,
String columnName)
getColumns operation handler |
OperationHandle |
getFunctions(String catalogName,
String schemaName,
String functionName)
getFunctions operation handler |
HiveConf |
getHiveConf()
|
GetInfoValue |
getInfo(GetInfoType getInfoType)
getInfo operation handler |
IMetaStoreClient |
getMetaStoreClient()
|
String |
getPassword()
|
TableSchema |
getResultSetMetadata(OperationHandle opHandle)
|
OperationHandle |
getSchemas(String catalogName,
String schemaName)
getSchemas operation handler |
SessionHandle |
getSessionHandle()
|
SessionState |
getSessionState()
|
OperationHandle |
getTables(String catalogName,
String schemaName,
String tableName,
List<String> tableTypes)
getTables operation handler |
OperationHandle |
getTableTypes()
getTableTypes operation handler |
OperationHandle |
getTypeInfo()
getTypeInfo operation handler |
String |
getUsername()
|
String |
getUserName()
|
void |
setOperationManager(OperationManager operationManager)
Set operation manager for the session |
void |
setSessionManager(SessionManager sessionManager)
Set the session manager for the session |
void |
setUserName(String userName)
|
Method Detail |
---|
void setSessionManager(SessionManager sessionManager)
sessionManager
- void setOperationManager(OperationManager operationManager)
operationManager
- SessionHandle getSessionHandle()
String getUsername()
String getPassword()
HiveConf getHiveConf()
IMetaStoreClient getMetaStoreClient() throws HiveSQLException
HiveSQLException
GetInfoValue getInfo(GetInfoType getInfoType) throws HiveSQLException
getInfoType
-
HiveSQLException
OperationHandle executeStatement(String statement, Map<String,String> confOverlay) throws HiveSQLException
statement
- confOverlay
-
HiveSQLException
OperationHandle getTypeInfo() throws HiveSQLException
HiveSQLException
OperationHandle getCatalogs() throws HiveSQLException
HiveSQLException
OperationHandle getSchemas(String catalogName, String schemaName) throws HiveSQLException
catalogName
- schemaName
-
HiveSQLException
OperationHandle getTables(String catalogName, String schemaName, String tableName, List<String> tableTypes) throws HiveSQLException
catalogName
- schemaName
- tableName
- tableTypes
-
HiveSQLException
OperationHandle getTableTypes() throws HiveSQLException
HiveSQLException
OperationHandle getColumns(String catalogName, String schemaName, String tableName, String columnName) throws HiveSQLException
catalogName
- schemaName
- tableName
- columnName
-
HiveSQLException
OperationHandle getFunctions(String catalogName, String schemaName, String functionName) throws HiveSQLException
catalogName
- schemaName
- functionName
-
HiveSQLException
void close() 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
SessionState getSessionState()
String getUserName()
void setUserName(String userName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |