Package org.hibernate.tool.schema.spi
Interface SchemaTruncator
- All Known Implementing Classes:
SchemaTruncatorImpl
@Incubatingpublic interfaceSchemaTruncator
Service delegate for handling schema truncation.- Since:
- 6.2
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoTruncate(Metadata metadata,ExecutionOptions options,ContributableMatcher contributableInclusionFilter,TargetDescriptor targetDescriptor)Perform a schema truncation from the indicated source(s) to the indicated target(s).
Method Detail
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