Class DefaultSchemaFilter
- java.lang.Object
-
- org.hibernate.tool.schema.internal.DefaultSchemaFilter
-
- All Implemented Interfaces:
SchemaFilter
public class DefaultSchemaFilter extends Object implements SchemaFilter
Default implementation of the SchemaFilter contract, which is to just include everything.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultSchemaFilterINSTANCE-
Fields inherited from interface org.hibernate.tool.schema.spi.SchemaFilter
ALL
-
-
Constructor Summary
Constructors Constructor Description DefaultSchemaFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanincludeNamespace(Namespace namespace)Should the given namespace (catalog+schema) be included? Iftrue, the namespace will be further processed; iffalse, processing will skip this namespace.booleanincludeSequence(Sequence sequence)Should the given sequence be included? Iftrue, the sequence will be further processed; iffalse, processing will skip this sequence.booleanincludeTable(Table table)Should the given table be included? Iftrue, the table will be further processed; iffalse, processing will skip this table.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultSchemaFilter INSTANCE
-
-
Method Detail
-
includeNamespace
public boolean includeNamespace(Namespace namespace)
Description copied from interface:SchemaFilterShould the given namespace (catalog+schema) be included? Iftrue, the namespace will be further processed; iffalse, processing will skip this namespace.- Specified by:
includeNamespacein interfaceSchemaFilter- Parameters:
namespace- The namespace to check for inclusion.- Returns:
trueto include the namespace;falseotherwise
-
includeTable
public boolean includeTable(Table table)
Description copied from interface:SchemaFilterShould the given table be included? Iftrue, the table will be further processed; iffalse, processing will skip this table.- Specified by:
includeTablein interfaceSchemaFilter- Parameters:
table- The table to check for inclusion- Returns:
trueto include the table;falseotherwise
-
includeSequence
public boolean includeSequence(Sequence sequence)
Description copied from interface:SchemaFilterShould the given sequence be included? Iftrue, the sequence will be further processed; iffalse, processing will skip this sequence.- Specified by:
includeSequencein interfaceSchemaFilter- Parameters:
sequence- The sequence to check for inclusion- Returns:
trueto include the sequence;falseotherwise
-
-