public interface CreatableRelationProvider
| Modifier and Type | Method and Description |
|---|---|
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)
|
BaseRelation createRelation(SQLContext sqlContext, SaveMode mode, scala.collection.immutable.Map<String,String> parameters, Dataset<Row> data)
sqlContext - SQLContextmode - specifies what happens when the destination already existsparameters - data source-specific parametersdata - DataFrame to save (i.e. the rows after executing the query)