Interface SchemaFilter

All Known Implementing Classes:
DefaultSchemaFilter

@Incubating public interface SchemaFilter
Defines a filter for Hibernate's schema tooling.
Since:
5.1
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SchemaFilter
    Matches everything
  • 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.
  • Field Details

  • Method Details

    • includeNamespace

      boolean includeNamespace(Namespace namespace)
      Should the given namespace (catalog+schema) be included? If true, the namespace will be further processed; if false, processing will skip this namespace.
      Parameters:
      namespace - The namespace to check for inclusion.
      Returns:
      true to include the namespace; false otherwise
    • includeTable

      boolean includeTable(Table table)
      Should the given table be included? If true, the table will be further processed; if false, processing will skip this table.
      Parameters:
      table - The table to check for inclusion
      Returns:
      true to include the table; false otherwise
    • includeSequence

      boolean includeSequence(Sequence sequence)
      Should the given sequence be included? If true, the sequence will be further processed; if false, processing will skip this sequence.
      Parameters:
      sequence - The sequence to check for inclusion
      Returns:
      true to include the sequence; false otherwise