Top Description Methods
org.hibernate.tool.schema.spi

public Interface SchemaDropper

Known Direct Implementers
org.hibernate.tool.schema.internal.SchemaDropperImpl
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.boot.Metadata

Service delegate for handling schema dropping.

Method Summary

Modifier and TypeMethod and Description
public DelayedDropAction

Returns:

The Runnable
buildDelayedAction
(Metadata
The metadata to drop
metadata
,
ExecutionOptions
The drop options
options
,
ContributableMatcher
Filter for Contributable instances to use
contributableInclusionFilter
,
SourceDescriptor sourceDescriptor)

Deprecated as a consequence of Metadata being deprecated.
Build a delayed Runnable for performing schema dropping.
public void
doDrop(Metadata
Represents the schema to be dropped.
metadata
,
ExecutionOptions
Options for executing the drop
options
,
ContributableMatcher
Filter for Contributable instances to use
contributableInclusionFilter
,
SourceDescriptor
description of the source(s) of drop commands
sourceDescriptor
,
TargetDescriptor
description of the target(s) for the drop commands
targetDescriptor
)

Deprecated as a consequence of Metadata being deprecated.
Perform a schema drop from the indicated source(s) to the indicated target(s).

Method Detail

buildDelayedActionback to summary
public DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.

Parameters
metadata:Metadata

The metadata to drop

options:ExecutionOptions

The drop options

contributableInclusionFilter:ContributableMatcher

Filter for Contributable instances to use

sourceDescriptor:SourceDescriptor

For access to the SourceDescriptor#getScriptSourceInput()

Returns:DelayedDropAction

The Runnable

doDropback to summary
public void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Perform a schema drop from the indicated source(s) to the indicated target(s).

Parameters
metadata:Metadata

Represents the schema to be dropped.

options:ExecutionOptions

Options for executing the drop

contributableInclusionFilter:ContributableMatcher

Filter for Contributable instances to use

sourceDescriptor:SourceDescriptor

description of the source(s) of drop commands

targetDescriptor:TargetDescriptor

description of the target(s) for the drop commands