Class InfoSchemaFilter
java.lang.Object
org.apache.drill.exec.store.ischema.InfoSchemaFilter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the filter for given invalid input: '<'COLUMN NAME, VALUE> pairs.Evaluate the filter for given invalid input: '<'COLUMN NAME, VALUE> pairs.toString()
-
Constructor Details
-
InfoSchemaFilter
-
-
Method Details
-
getExprRoot
-
evaluate
Evaluate the filter for given invalid input: '<'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 invalid input: '<'COLUMN NAME, VALUE> pairs.- Parameters:
recordValues- map of field names and their valuesprefixMatchesInconclusive- 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
-