Example usage for Java org.apache.spark.sql SaveMode fields, constructors, methods, implement or subclass
The text is from its open source code.
SaveMode | Append Append mode means that when saving a DataFrame to a data source, if data/table already exists, contents of the DataFrame are expected to be appended to existing data. |
SaveMode | Overwrite Overwrite mode means that when saving a DataFrame to a data source, if data/table already exists, existing data is expected to be overwritten by the contents of the DataFrame. |
SaveMode | ErrorIfExists ErrorIfExists mode means that when saving a DataFrame to a data source, if data already exists, an exception is expected to be thrown. |
SaveMode | Ignore Ignore mode means that when saving a DataFrame to a data source, if data already exists, the save operation is expected to not save the contents of the DataFrame and to not change the existing data. |