Interface TruncatableTable
- All Superinterfaces:
Table
- All Known Subinterfaces:
SupportsDelete
,SupportsDeleteV2
Represents a table which can be atomically truncated.
- Since:
- 3.2.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Truncate a table by removing all rows from the table atomically.Methods inherited from interface org.apache.spark.sql.connector.catalog.Table
capabilities, columns, name, partitioning, properties, schema
-
Method Details
-
truncateTable
boolean truncateTable()Truncate a table by removing all rows from the table atomically.- Returns:
- true if a table was truncated successfully otherwise false
- Since:
- 3.2.0
-