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 final DefaultSchemaFilter
     

    Fields inherited from interface org.hibernate.tool.schema.spi.SchemaFilter

    ALL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Should the given namespace (catalog+schema) be included? If true, the namespace will be further processed; if false, processing will skip this namespace.
    boolean
    Should the given sequence be included? If true, the sequence will be further processed; if false, processing will skip this sequence.
    boolean
    Should the given table be included? If true, the table will be further processed; if false, processing will skip this table.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DefaultSchemaFilter

      public DefaultSchemaFilter()
  • Method Details

    • includeNamespace

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