Class AbstractSchemaValidator
- java.lang.Object
-
- org.hibernate.tool.schema.internal.AbstractSchemaValidator
-
- All Implemented Interfaces:
SchemaValidator
- Direct Known Subclasses:
GroupedSchemaValidatorImpl
,IndividuallySchemaValidatorImpl
public abstract class AbstractSchemaValidator extends Object implements SchemaValidator
Base implementation ofSchemaValidator
.
-
-
Field Summary
Fields Modifier and Type Field Description protected SchemaFilter
schemaFilter
protected HibernateSchemaManagementTool
tool
-
Constructor Summary
Constructors Constructor Description AbstractSchemaValidator(HibernateSchemaManagementTool tool, SchemaFilter validateFilter)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
tool
protected HibernateSchemaManagementTool tool
-
schemaFilter
protected SchemaFilter schemaFilter
-
-
Constructor Detail
-
AbstractSchemaValidator
public AbstractSchemaValidator(HibernateSchemaManagementTool tool, SchemaFilter validateFilter)
-
-
Method Detail
-
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
protected void validateSequence(Sequence sequence, SequenceInformation sequenceInformation)
-
-