Interface SupportsSaveToHTTP

All Superinterfaces:
AutoCloseable, Closeable, Operator, OperatorPipelineV3, Serializable, org.apache.spark.sql.api.java.UDF2<org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>,Boolean,Void>, Writer

@DeveloperApi @FeatureBeforeCall public interface SupportsSaveToHTTP extends Writer
The mix-in interface for Writer. Dataset writers can implement this interface to support putting the content of the DataFrame to a remote HTTP/HTTPS repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    save(String url, Properties connectionProperties)
    Sets the target HTTP connection with which the DataFrame will be saved.

    Methods inherited from interface java.io.Closeable

    close

    Methods inherited from interface com.atgenomix.seqslab.piper.plugin.api.Operator

    getName, getOperatorContext

    Methods inherited from interface org.apache.spark.sql.api.java.UDF2

    call

    Methods inherited from interface com.atgenomix.seqslab.piper.plugin.api.writer.Writer

    getDataSource, init
  • Method Details

    • save

      Writer save(String url, Properties connectionProperties)
      Sets the target HTTP connection with which the DataFrame will be saved.
      Parameters:
      url - HTTP/HTTPS url
      connectionProperties - Connection arguments and headers, a list of arbitrary string key/value
      Returns:
      The writer object itself