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 DefaultSchemaFilter
INSTANCE
-
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 boolean
includeNamespace(Namespace namespace)
Should the given namespace (catalog+schema) be included? Iftrue
, the namespace will be further processed; iffalse
, processing will skip this namespace.boolean
includeSequence(Sequence sequence)
Should the given sequence be included? Iftrue
, the sequence will be further processed; iffalse
, processing will skip this sequence.boolean
includeTable(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:SchemaFilter
Should the given namespace (catalog+schema) be included? Iftrue
, the namespace will be further processed; iffalse
, processing will skip this namespace.- Specified by:
includeNamespace
in interfaceSchemaFilter
- Parameters:
namespace
- The namespace to check for inclusion.- Returns:
true
to include the namespace;false
otherwise
-
includeTable
public boolean includeTable(Table table)
Description copied from interface:SchemaFilter
Should the given table be included? Iftrue
, the table will be further processed; iffalse
, processing will skip this table.- Specified by:
includeTable
in interfaceSchemaFilter
- Parameters:
table
- The table to check for inclusion- Returns:
true
to include the table;false
otherwise
-
includeSequence
public boolean includeSequence(Sequence sequence)
Description copied from interface:SchemaFilter
Should the given sequence be included? Iftrue
, the sequence will be further processed; iffalse
, processing will skip this sequence.- Specified by:
includeSequence
in interfaceSchemaFilter
- Parameters:
sequence
- The sequence to check for inclusion- Returns:
true
to include the sequence;false
otherwise
-
-