Interface SupportsTruncate
- All Superinterfaces:
- WriteBuilder
- All Known Subinterfaces:
- SupportsOverwrite,- SupportsOverwriteV2
Write builder trait for tables that support truncation.
 
Truncation removes all data in a table and replaces it with data that is committed in the write.
- Since:
- 3.0.0
- 
Method SummaryModifier and TypeMethodDescriptiontruncate()Configures a write to replace all existing data with data committed in the write.Methods inherited from interface org.apache.spark.sql.connector.write.WriteBuilderbuild, buildForBatch, buildForStreaming
- 
Method Details- 
truncateWriteBuilder truncate()Configures a write to replace all existing data with data committed in the write.- Returns:
- this write builder for method chaining
 
 
-