SchemaDropper.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final SchemaFilter | |
| private final HibernateSchemaManagementTool |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | applyConstraintDropping(Namespace namespace, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext context, ContributableMatcher inclusionFilter, GenerationTarget... targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| public DelayedDropAction | buildDelayedAction(Metadata
The metadata to drop metadata, ExecutionOptions The drop options options, ContributableMatcher Filter for Contributable instances to use inclusionFilter, SourceDescriptor For access to the sourceDescriptor)SourceDescriptor#getScriptSourceInput()Implements org.
Deprecated
as a consequence of
Build a delayed Runnable for performing schema dropping.
Metadata being deprecated.
|
| private static void | |
| 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 inclusionFilter, SourceDescriptor description of the source(s) of drop commands sourceDescriptor, TargetDescriptor description of the target(s) for the drop commands targetDescriptor)Implements org.
Deprecated
as a consequence of
Perform a schema drop from the indicated source(s) to the indicated target(s).
Metadata being deprecated.
|
| public void | doDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated
as a consequence of
For use from testing
Metadata being deprecated.
|
| public void | doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated
as a consequence of
For use from testing
Metadata being deprecated.
|
| public void | doDrop(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets)
Deprecated
as a consequence of
For tests
Metadata being deprecated.
|
| public void | doDrop(Metadata metadata, final ServiceRegistry serviceRegistry, final Map<String, Object> settings, final boolean manageNamespaces, GenerationTarget... targets)
Deprecated
as a consequence of
For tests
Metadata being deprecated.
|
| private static void | dropAuxiliaryObjectsAfterTables(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static void | dropAuxiliaryObjectsBeforeTables(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private void | dropConstraintsTablesSequences(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private void | dropFromMetadata(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, GenerationTarget... targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static void | dropSchemasAndCatalogs(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static void | dropSequences(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, SqlStringGenerationContext context, Namespace namespace, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static void | dropTables(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, SqlStringGenerationContext context, Namespace namespace, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static void | dropUserDefinedTypes(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private SqlScriptCommandExtractor | |
| private void | performDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated
as a consequence of
Metadata being deprecated.
|
| private static Collection |
| log | back to summary |
|---|---|
| private static final Logger log | |
| schemaFilter | back to summary |
|---|---|
| private final SchemaFilter schemaFilter | |
| tool | back to summary |
|---|---|
| private final HibernateSchemaManagementTool tool | |
| SchemaDropperImpl | back to summary |
|---|---|
| public SchemaDropperImpl(HibernateSchemaManagementTool tool) | |
| SchemaDropperImpl | back to summary |
|---|---|
| public SchemaDropperImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter) | |
| SchemaDropperImpl | back to summary |
|---|---|
| public SchemaDropperImpl(ServiceRegistry serviceRegistry) | |
| SchemaDropperImpl | back to summary |
|---|---|
| public SchemaDropperImpl(ServiceRegistry serviceRegistry, SchemaFilter schemaFilter) | |
| applyConstraintDropping | back to summary |
|---|---|
| private void applyConstraintDropping(Namespace namespace, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext context, ContributableMatcher inclusionFilter, GenerationTarget... targets)
Deprecated as a consequence of | |
| buildDelayedAction | back to summary |
|---|---|
| public DelayedDropAction buildDelayedAction(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor) Implements org. Doc from org. Deprecated as a consequence of Build a delayed Runnable for performing schema dropping. This implicitly targets the underlying data-store.
| |
| checkExportIdentifier | back to summary |
|---|---|
| private static void checkExportIdentifier(Exportable exportable, Set<String> exportIdentifiers) | |
| doDrop | back to summary |
|---|---|
| public void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Implements org. Doc from org. Deprecated as a consequence of Perform a schema drop from the indicated source(s) to the indicated target(s).
| |
| doDrop | back to summary |
|---|---|
| public void doDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated as a consequence of For use from testing
| |
| doDrop | back to summary |
|---|---|
| public void doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated as a consequence of For use from testing
| |
| doDrop | back to summary |
|---|---|
| public void doDrop(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets)
Deprecated as a consequence of For tests | |
| doDrop | back to summary |
|---|---|
| public void doDrop(Metadata metadata, final ServiceRegistry serviceRegistry, final Map<String, Object> settings, final boolean manageNamespaces, GenerationTarget... targets)
Deprecated as a consequence of For tests | |
| dropAuxiliaryObjectsAfterTables | back to summary |
|---|---|
| private static void dropAuxiliaryObjectsAfterTables(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropAuxiliaryObjectsBeforeTables | back to summary |
|---|---|
| private static void dropAuxiliaryObjectsBeforeTables(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropConstraintsTablesSequences | back to summary |
|---|---|
| private void dropConstraintsTablesSequences(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropFromMetadata | back to summary |
|---|---|
| private void dropFromMetadata(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, GenerationTarget... targets)
Deprecated as a consequence of | |
| dropSchemasAndCatalogs | back to summary |
|---|---|
| private static void dropSchemasAndCatalogs(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropSequences | back to summary |
|---|---|
| private static void dropSequences(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, SqlStringGenerationContext context, Namespace namespace, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropTables | back to summary |
|---|---|
| private static void dropTables(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, SqlStringGenerationContext context, Namespace namespace, GenerationTarget[] targets)
Deprecated as a consequence of | |
| dropUserDefinedTypes | back to summary |
|---|---|
| private static void dropUserDefinedTypes(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, SqlStringGenerationContext context, GenerationTarget[] targets)
Deprecated as a consequence of | |
| getCommandExtractor | back to summary |
|---|---|
| private SqlScriptCommandExtractor getCommandExtractor() | |
| performDrop | back to summary |
|---|---|
| private void performDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets)
Deprecated as a consequence of | |
| reverse | back to summary |
|---|---|
| private static Collection | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| private static final CoreMessageLogger | |
| private GenerationTarget |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | perform(ServiceRegistry
Access to the ServiceRegistry serviceRegistry)Implements org. |
| commands | back to summary |
|---|---|
| private final ArrayList<String> commands | |
| log | back to summary |
|---|---|
| private static final CoreMessageLogger log | |
| target | back to summary |
|---|---|
| private GenerationTarget target | |
| DelayedDropActionImpl | back to summary |
|---|---|
| public DelayedDropActionImpl(ArrayList<String> commands, GenerationTarget target) | |
| perform | back to summary |
|---|---|
| public void perform(ServiceRegistry serviceRegistry) Implements org. Doc from org. Perform the delayed schema drop.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final JdbcConnectionAccess | |
| private final JdbcServices | |
| private final ServiceRegistry |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Dialect | |
| public JdbcConnectionAccess | |
| public ServiceRegistry | |
| public SqlExceptionHelper | |
| public SqlStatementLogger |
| jdbcConnectionAccess | back to summary |
|---|---|
| private final JdbcConnectionAccess jdbcConnectionAccess | |
| jdbcServices | back to summary |
|---|---|
| private final JdbcServices jdbcServices | |
| serviceRegistry | back to summary |
|---|---|
| private final ServiceRegistry serviceRegistry | |
| JdbcContextDelayedDropImpl | back to summary |
|---|---|
| public JdbcContextDelayedDropImpl(ServiceRegistry serviceRegistry) | |
| getDialect | back to summary |
|---|---|
| public Dialect getDialect() Implements org.
| |
| getJdbcConnectionAccess | back to summary |
|---|---|
| public JdbcConnectionAccess getJdbcConnectionAccess() Implements org.
| |
| getServiceRegistry | back to summary |
|---|---|
| public ServiceRegistry getServiceRegistry() Implements org.
| |
| getSqlExceptionHelper | back to summary |
|---|---|
| public SqlExceptionHelper getSqlExceptionHelper() Implements org.
| |
| getSqlStatementLogger | back to summary |
|---|---|
| public SqlStatementLogger getSqlStatementLogger() Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(String
The command command)Implements org. |
| public void | prepare()
Implements org. |
| public void | release()
Implements org. |
| commands | back to summary |
|---|---|
| private final ArrayList<String> commands | |
| JournalingGenerationTarget | back to summary |
|---|---|
| private JournalingGenerationTarget() | |
| accept | back to summary |
|---|---|
| public void accept(String command) Implements org. Doc from org. Accept a command | |
| prepare | back to summary |
|---|---|
| public void prepare() Implements org. Doc from org. Prepare for accepting actions
| |
| release | back to summary |
|---|---|
| public void release() Implements org. Doc from org. Release this target, giving it a change to release its resources.
| |