Class InfoSchemaFilter
java.lang.Object
org.apache.drill.exec.store.ischema.InfoSchemaFilter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEvaluate the filter for given <COLUMN NAME, VALUE> pairs.Evaluate the filter for given <COLUMN NAME, VALUE> pairs.toString()
-
Constructor Details
-
InfoSchemaFilter
-
-
Method Details
-
getExprRoot
-
evaluate
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 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
-