Class FilterEvaluator.NoFilterEvaluator

java.lang.Object
org.apache.drill.exec.store.ischema.FilterEvaluator.NoFilterEvaluator
All Implemented Interfaces:
FilterEvaluator
Direct Known Subclasses:
FilterEvaluator.InfoSchemaFilterEvaluator
Enclosing interface:
FilterEvaluator

public static class FilterEvaluator.NoFilterEvaluator extends Object implements FilterEvaluator
Evaluates necessity to visit certain type of information_schema data based on given schema type.
  • Field Details

  • Constructor Details

    • NoFilterEvaluator

      public NoFilterEvaluator()
  • Method Details

    • shouldVisitCatalog

      public boolean shouldVisitCatalog()
      Description copied from interface: FilterEvaluator
      Visit the catalog. Drill has only one catalog.
      Specified by:
      shouldVisitCatalog in interface FilterEvaluator
      Returns:
      whether to continue exploring the contents of the catalog or not. Contents are schema/schema tree.
    • shouldPruneSchema

      public boolean shouldPruneSchema(String schemaName)
      Description copied from interface: FilterEvaluator
      Prune the given schema.
      Specified by:
      shouldPruneSchema in interface FilterEvaluator
      Parameters:
      schemaName - name of the schema
      Returns:
      whether to prune this schema and all its descendants from the search tree.
    • shouldVisitSchema

      public boolean shouldVisitSchema(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: FilterEvaluator
      Visit the given schema.
      Specified by:
      shouldVisitSchema in interface FilterEvaluator
      Parameters:
      schemaName - name of the schema
      schema - schema object
      Returns:
      whether to continue exploring the contents of the schema or not. Contents are tables within the schema.
    • shouldVisitTable

      public boolean shouldVisitTable(String schemaName, String tableName, org.apache.calcite.schema.Schema.TableType tableType)
      Description copied from interface: FilterEvaluator
      Visit the tables in the given schema.
      Specified by:
      shouldVisitTable in interface FilterEvaluator
      Parameters:
      schemaName - name of the schema
      tableName - name of the table
      tableType - type of the table
      Returns:
      whether to continue exploring the contents of the table or not. Contents are tables attributes and columns.
    • shouldVisitColumn

      public boolean shouldVisitColumn(String schemaName, String tableName, String columnName)
      Description copied from interface: FilterEvaluator
      Visit the columns in the given schema and table.
      Specified by:
      shouldVisitColumn in interface FilterEvaluator
      Parameters:
      schemaName - name of the schema
      tableName - name of the table
      columnName - type of the table
      Returns:
      whether to continue exploring the contents of the column or not. Contents are columns attributes.
    • shouldVisitFiles

      public boolean shouldVisitFiles(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: FilterEvaluator
      Visit the files in the given schema.
      Specified by:
      shouldVisitFiles in interface FilterEvaluator
      Parameters:
      schemaName - name of the schema
      schema - schema object
      Returns:
      whether to continue exploring the files in the schema