public interface CommandApi
Modifier and Type | Method and Description |
---|---|
CommandApi |
allUsers(boolean allUsers) |
InvokableBuilder<javax.ws.rs.core.Response> |
cancel(String queryId)
Corresponds to http://www.qubole.com/docs/cancel-a-command/
|
CommandApi |
commandType(List<BaseCommand.COMMAND_TYPE> commandTypes) |
CompositeCommandBuilder |
composite()
Corresponds to http://docs.qubole.com/en/latest/rest-api/command_api/submit-a-composite-command.html
|
DbAdvancedExportCommandBuilder |
dbExportAdvanced()
Corresponds to http://www.qubole.com/docs/submit-a-db-export-command/ - advanced mode
|
DbSimpleExportCommandBuilder |
dbExportSimple()
Corresponds to http://www.qubole.com/docs/submit-a-db-export-command/ - simple mode
|
DbAdvancedImportCommandBuilder |
dbImportAdvanced()
Corresponds to http://www.qubole.com/docs/submit-a-db-import-command/ - advanced mode
|
DbSimpleImportCommandBuilder |
dbImportSimple()
Corresponds to http://www.qubole.com/docs/submit-a-db-import-command/ - simple mode
|
InvokableBuilder<CommandResponse> |
dbTapQuery(String query,
int dbTapId) |
CommandApi |
endDate(String endDate) |
HadoopCommandBuilder |
hadoop()
Corresponds to http://www.qubole.com/docs/submit-a-hadoop-jar-command/
|
PageableInvokableBuilder<Commands> |
history()
Corresponds to http://www.qubole.com/docs/view-command-history/
|
HiveCommandBuilder |
hive()
Corresponds to http://www.qubole.com/docs/submit-a-hive-command/
|
CommandApi |
includeQueryProperties(boolean includeQueryProperties) |
InvokableBuilder<String> |
logs(String queryId)
Corresponds to http://www.qubole.com/docs/view-command-logs/
|
NotebookCommandBuilder |
notebook()
Corresponds to http://docs.qubole.com/en/latest/rest-api/notebook_api/run-notebook.html
|
PigCommandBuilder |
pig()
Corresponds to http://www.qubole.com/docs/submit-a-pig-command/
|
PrestoCommandBuilder |
presto()
Corresponds to http://www.qubole.com/docs/submit-a-presto-command-2/
|
ResultsCommandBuilder |
results(String queryId)
Corresponds to http://www.qubole.com/docs/view-command-results/
|
ShellCommandBuilder |
shell() |
SparkCommandBuilder |
spark()
Corresponds to http://docs.qubole.com/en/latest/quick-start-guide/running-spark-app.html
|
CommandApi |
startDate(String startDate) |
InvokableBuilder<Command> |
status(String queryId)
Corresponds to http://www.qubole.com/docs/view-command-status/
|
PageableInvokableBuilder<Commands> history()
HiveCommandBuilder hive()
HadoopCommandBuilder hadoop()
PigCommandBuilder pig()
PrestoCommandBuilder presto()
SparkCommandBuilder spark()
ShellCommandBuilder shell()
InvokableBuilder<CommandResponse> dbTapQuery(String query, int dbTapId)
query
- the query to be rundbTapId
- the db_tap id where the query will be runDbSimpleImportCommandBuilder dbImportSimple()
DbSimpleExportCommandBuilder dbExportSimple()
DbAdvancedImportCommandBuilder dbImportAdvanced()
DbAdvancedExportCommandBuilder dbExportAdvanced()
CompositeCommandBuilder composite()
InvokableBuilder<Command> status(String queryId)
queryId
- the query id of the commandResultsCommandBuilder results(String queryId)
queryId
- the query id of the commandInvokableBuilder<String> logs(String queryId)
queryId
- the query id of the commandInvokableBuilder<javax.ws.rs.core.Response> cancel(String queryId)
queryId
- the query id of the commandNotebookCommandBuilder notebook()
CommandApi startDate(String startDate)
CommandApi allUsers(boolean allUsers)
CommandApi includeQueryProperties(boolean includeQueryProperties)
CommandApi endDate(String endDate)
CommandApi commandType(List<BaseCommand.COMMAND_TYPE> commandTypes)
Copyright © 2020. All rights reserved.