Class SchemaTruncatorImpl
- java.lang.Object
-
- org.hibernate.tool.schema.internal.SchemaTruncatorImpl
-
- All Implemented Interfaces:
SchemaTruncator
public class SchemaTruncatorImpl extends Object implements SchemaTruncator
Basic implementation ofSchemaTruncator
.
-
-
Constructor Summary
Constructors Constructor Description SchemaTruncatorImpl(HibernateSchemaManagementTool tool, SchemaFilter truncatorFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor)
Perform a schema truncation from the indicated source(s) to the indicated target(s).
-
-
-
Constructor Detail
-
SchemaTruncatorImpl
public SchemaTruncatorImpl(HibernateSchemaManagementTool tool, SchemaFilter truncatorFilter)
-
-
Method Detail
-
doTruncate
public void doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor)
Description copied from interface:SchemaTruncator
Perform a schema truncation from the indicated source(s) to the indicated target(s).- Specified by:
doTruncate
in interfaceSchemaTruncator
- 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
-
-