SupportsDeleteV2 Tables¶
SupportsDeleteV2
is an extension of the TruncatableTable abstraction for truncatable tables that can deleteWhere.
Contract¶
deleteWhere¶
void deleteWhere(
Predicate[] predicates)
See:
Used when:
SupportsDeleteV2
is requested to truncateTable (with canDeleteWhere enabled)- DeleteFromTableExec physical operator is executed
Implementations¶
canDeleteWhere¶
boolean canDeleteWhere(
Predicate[] predicates)
canDeleteWhere
is enabled (true
).
canDeleteWhere
is used when:
SupportsDeleteV2
is requested to truncateTable- DataSourceV2Strategy execution planning strategy is executed (to plan a DeleteFromTable over a
SupportsDeleteV2
) OptimizeMetadataOnlyDeleteFromTable
logical optimization is executed