Package org.hibernate.tool.schema.spi
Interface SchemaTruncator
- All Known Implementing Classes:
SchemaTruncatorImpl
Service delegate for handling schema truncation.
- Since:
- 6.2
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform a schema truncation from the indicated source(s) to the indicated target(s).
-
Method Details
-
doTruncate
void doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform a schema truncation from the indicated source(s) to the indicated target(s).- Parameters:
metadata- Represents the schema to be dropped.options- Options for executing the dropcontributableInclusionFilter- Filter for Contributable instances to usetargetDescriptor- description of the target(s) for the drop commands
-