Package io.kestra.plugin.jdbc.postgresql
Class CopyIn
- java.lang.Object
-
- io.kestra.core.models.tasks.Task
-
- io.kestra.plugin.jdbc.AbstractJdbcConnection
-
- io.kestra.plugin.jdbc.postgresql.AbstractCopy
-
- io.kestra.plugin.jdbc.postgresql.CopyIn
-
- All Implemented Interfaces:
io.kestra.core.models.tasks.RunnableTask<CopyIn.Output>,PostgresConnectionInterface
@Plugin(examples=@Example(title="Load csv from a postgres table",code={"url: jdbc:postgresql://127.0.0.1:56982/","username: postgres","password: pg_passwd","format: CSV","from: {{ outputs.export.uri }}","table: my_destination_table","header: true","delimiter: \"\t\""})) public class CopyIn extends AbstractCopy implements io.kestra.core.models.tasks.RunnableTask<CopyIn.Output>, PostgresConnectionInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCopyIn.Output-
Nested classes/interfaces inherited from class io.kestra.plugin.jdbc.postgresql.AbstractCopy
AbstractCopy.Format
-
Nested classes/interfaces inherited from class io.kestra.plugin.jdbc.AbstractJdbcConnection
io.kestra.plugin.jdbc.AbstractJdbcConnection.AbstractJdbcConnectionBuilder<C extends io.kestra.plugin.jdbc.AbstractJdbcConnection,B extends io.kestra.plugin.jdbc.AbstractJdbcConnection.AbstractJdbcConnectionBuilder<C,B>>
-
Nested 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>>
-
Nested classes/interfaces inherited from interface io.kestra.plugin.jdbc.postgresql.PostgresConnectionInterface
PostgresConnectionInterface.SslMode
-
-
Field Summary
-
Fields inherited from class io.kestra.plugin.jdbc.postgresql.AbstractCopy
columns, delimiter, encoding, escape, forceNotNull, forceNull, forceQuote, format, freeze, header, nullString, oids, quote, ssl, sslCert, sslKey, sslKeyPassword, sslMode, sslRootCert, table
-
-
Constructor Summary
Constructors Constructor Description CopyIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyIn.Outputrun(io.kestra.core.runners.RunContext runContext)-
Methods inherited from class io.kestra.plugin.jdbc.postgresql.AbstractCopy
connectionProperties, query, registerDriver
-
Methods inherited from class io.kestra.plugin.jdbc.AbstractJdbcConnection
canEqual, cleanup, connection, equals, getAutoCommit, getPassword, getUrl, getUsername, hashCode, tempFile, tempFile, toString
-
Methods inherited from class io.kestra.core.models.tasks.Task
findById, findById, getDescription, getDisabled, getId, getRetry, getTimeout, getType, isFlowable
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.kestra.plugin.jdbc.postgresql.PostgresConnectionInterface
getSsl, getSslCert, getSslKey, getSslKeyPassword, getSslMode, getSslRootCert
-
-
-
-
Method Detail
-
run
public CopyIn.Output run(io.kestra.core.runners.RunContext runContext) throws java.lang.Exception
- Specified by:
runin interfaceio.kestra.core.models.tasks.RunnableTask<CopyIn.Output>- Throws:
java.lang.Exception
-
-