public static class FilterEvaluator.NoFilterEvaluator extends Object implements FilterEvaluator
FilterEvaluator.InfoSchemaFilterEvaluator, FilterEvaluator.NoFilterEvaluator
Modifier and Type | Field and Description |
---|---|
static FilterEvaluator |
INSTANCE |
Constructor and Description |
---|
NoFilterEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldPruneSchema(String schemaName)
Prune the given schema.
|
boolean |
shouldVisitCatalog()
Visit the catalog.
|
boolean |
shouldVisitColumn(String schemaName,
String tableName,
String columnName)
Visit the columns in the given schema and table.
|
boolean |
shouldVisitFiles(String schemaName,
org.apache.calcite.schema.SchemaPlus schema)
Visit the files in the given schema.
|
boolean |
shouldVisitSchema(String schemaName,
org.apache.calcite.schema.SchemaPlus schema)
Visit the given schema.
|
boolean |
shouldVisitTable(String schemaName,
String tableName,
org.apache.calcite.schema.Schema.TableType tableType)
Visit the tables in the given schema.
|
public static final FilterEvaluator INSTANCE
public boolean shouldVisitCatalog()
FilterEvaluator
shouldVisitCatalog
in interface FilterEvaluator
public boolean shouldPruneSchema(String schemaName)
FilterEvaluator
shouldPruneSchema
in interface FilterEvaluator
schemaName
- name of the schemapublic boolean shouldVisitSchema(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
FilterEvaluator
shouldVisitSchema
in interface FilterEvaluator
schemaName
- name of the schemaschema
- schema objectpublic boolean shouldVisitTable(String schemaName, String tableName, org.apache.calcite.schema.Schema.TableType tableType)
FilterEvaluator
shouldVisitTable
in interface FilterEvaluator
schemaName
- name of the schematableName
- name of the tabletableType
- type of the tablepublic boolean shouldVisitColumn(String schemaName, String tableName, String columnName)
FilterEvaluator
shouldVisitColumn
in interface FilterEvaluator
schemaName
- name of the schematableName
- name of the tablecolumnName
- type of the tablepublic boolean shouldVisitFiles(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
FilterEvaluator
shouldVisitFiles
in interface FilterEvaluator
schemaName
- name of the schemaschema
- schema objectCopyright © 1970 The Apache Software Foundation. All rights reserved.