Class DefaultSchemaFilter

  • All Implemented Interfaces:
    SchemaFilter

    public class DefaultSchemaFilter
    extends Object
    implements SchemaFilter
    Default implementation of the SchemaFilter contract, which is to just include everything.
    • Constructor Detail

      • DefaultSchemaFilter

        public DefaultSchemaFilter()
    • Method Detail

      • 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