Package io.kestra.plugin.databricks.sql
Class Query
java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.plugin.databricks.sql.Query
- All Implemented Interfaces:
io.kestra.core.models.tasks.RunnableTask<Query.Output>
@Plugin(examples=@Example(code="id: sqlQuery\ntype: io.kestra.plugin.databricks.sql.Query\naccessToken: <your-accessToken>\nhost: <your-host>\nhttpPath: <your-httpPath>\nsql: SELECT 1"),
metrics=@Metric(name="fetch.size",type="counter",description="Query result size"))
public class Query
extends io.kestra.core.models.tasks.Task
implements io.kestra.core.models.tasks.RunnableTask<Query.Output>
For more information on the JDBC drivers see JDBC Driver.
FIXME some part are copied from the plugin-jdbc, maybe we need to find a way to avoid copying and share more stuff
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.kestra.core.models.tasks.Task
io.kestra.core.models.tasks.Task.TaskBuilder<C extends io.kestra.core.models.tasks.Task,B extends io.kestra.core.models.tasks.Task.TaskBuilder<C, B>> -
Field Summary
Fields inherited from class io.kestra.core.models.tasks.Task
disabled, id, retry, timeout, type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.kestra.core.models.tasks.Task
findById, findById, getDescription, getDisabled, getId, getLogLevel, getRetry, getTimeout, getType, getWorkerGroup, isFlowable, isSendToWorkerTask
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
run
- Specified by:
runin interfaceio.kestra.core.models.tasks.RunnableTask<Query.Output>- Throws:
Exception
-