Class AbstractSchemaValidator
java.lang.Object
org.hibernate.tool.schema.internal.AbstractSchemaValidator
- All Implemented Interfaces:
SchemaValidator
- Direct Known Subclasses:
GroupedSchemaValidatorImpl
,IndividuallySchemaValidatorImpl
Base implementation of
SchemaValidator
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSchemaValidator
(HibernateSchemaManagementTool tool, SchemaFilter validateFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doValidation
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter) Perform the validation of the schema described by Metadatavoid
performValidation
(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect) protected void
validateColumnType
(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect) protected void
validateSequence
(Sequence sequence, SequenceInformation sequenceInformation) protected void
validateTable
(Table table, TableInformation tableInformation, Metadata metadata, ExecutionOptions options, Dialect dialect) protected abstract void
validateTables
(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Namespace namespace)
-
Field Details
-
tool
-
schemaFilter
-
-
Constructor Details
-
AbstractSchemaValidator
-
-
Method Details
-
doValidation
public void doValidation(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter) Description copied from interface:SchemaValidator
Perform the validation of the schema described by Metadata- Specified by:
doValidation
in interfaceSchemaValidator
- Parameters:
metadata
- Represents the schema to be validatedoptions
- Options for executing the validationcontributableInclusionFilter
- Filter for Contributable instances to use
-
performValidation
public void performValidation(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect) -
validateTables
protected abstract void validateTables(Metadata metadata, DatabaseInformation databaseInformation, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Namespace namespace) -
validateTable
protected void validateTable(Table table, TableInformation tableInformation, Metadata metadata, ExecutionOptions options, Dialect dialect) -
validateColumnType
protected void validateColumnType(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect) -
validateSequence
-