Class InfoSchemaFilter

java.lang.Object
org.apache.drill.exec.store.ischema.InfoSchemaFilter

public class InfoSchemaFilter extends Object
  • Constructor Details

  • Method Details

    • getExprRoot

      public InfoSchemaFilter.ExprNode getExprRoot()
    • evaluate

      public InfoSchemaFilter.Result evaluate(Map<String,String> recordValues)
      Evaluate the filter for given <COLUMN NAME, VALUE> pairs.
      Parameters:
      recordValues - map of field names and their values
      Returns:
      evaluation result
    • evaluate

      public InfoSchemaFilter.Result evaluate(Map<String,String> recordValues, boolean prefixMatchesInconclusive)
      Evaluate the filter for given <COLUMN NAME, VALUE> pairs.
      Parameters:
      recordValues - map of field names and their values
      prefixMatchesInconclusive - whether a prefix match between a schema path and a filter value results in Result.INCONCLUSIVE. Used for pruning the schema search tree, e.g. "dfs" need not be recursed to find a schema of "cp.default"
      Returns:
      evaluation result
    • toString

      public String toString()
      Overrides:
      toString in class Object