Class SchemaTruncatorImpl
java.lang.Object
org.hibernate.tool.schema.internal.AbstractSchemaPopulator
org.hibernate.tool.schema.internal.SchemaTruncatorImpl
- All Implemented Interfaces:
SchemaTruncator
Basic implementation of
SchemaTruncator
.-
Field Summary
Fields inherited from class org.hibernate.tool.schema.internal.AbstractSchemaPopulator
DEFAULT_IMPORT_FILE
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaTruncatorImpl
(HibernateSchemaManagementTool tool, SchemaFilter truncatorFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doTruncate
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, GenerationTarget... targets) 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 Details
-
SchemaTruncatorImpl
-
-
Method Details
-
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
-
doTruncate
@Internal public void doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, GenerationTarget... targets)
-