Class 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 class  CopyIn.Output  
      • 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>>
    • Constructor Summary

      Constructors 
      Constructor Description
      CopyIn()  
    • Constructor Detail

      • CopyIn

        public CopyIn()
    • Method Detail

      • run

        public CopyIn.Output run​(io.kestra.core.runners.RunContext runContext)
                          throws java.lang.Exception
        Specified by:
        run in interface io.kestra.core.models.tasks.RunnableTask<CopyIn.Output>
        Throws:
        java.lang.Exception