Interface CreatableRelationProvider


public interface CreatableRelationProvider
Since:
1.3.0
  • Method Details

    • createRelation

      BaseRelation createRelation(SQLContext sqlContext, SaveMode mode, scala.collection.immutable.Map<String,String> parameters, Dataset<Row> data)
      Saves a DataFrame to a destination (using data source-specific parameters)

      Parameters:
      sqlContext - SQLContext
      mode - specifies what happens when the destination already exists
      parameters - data source-specific parameters
      data - DataFrame to save (i.e. the rows after executing the query)
      Returns:
      Relation with a known schema

      Since:
      1.3.0