public static class FilterEvaluator.InfoSchemaFilterEvaluator extends FilterEvaluator.NoFilterEvaluator
FilterEvaluator.InfoSchemaFilterEvaluator, FilterEvaluator.NoFilterEvaluator
INSTANCE
Constructor and Description |
---|
InfoSchemaFilterEvaluator(InfoSchemaFilter filter) |
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 InfoSchemaFilterEvaluator(InfoSchemaFilter filter)
public boolean shouldVisitCatalog()
FilterEvaluator
shouldVisitCatalog
in interface FilterEvaluator
shouldVisitCatalog
in class FilterEvaluator.NoFilterEvaluator
public boolean shouldPruneSchema(String schemaName)
FilterEvaluator
shouldPruneSchema
in interface FilterEvaluator
shouldPruneSchema
in class FilterEvaluator.NoFilterEvaluator
schemaName
- name of the schemapublic boolean shouldVisitSchema(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
FilterEvaluator
shouldVisitSchema
in interface FilterEvaluator
shouldVisitSchema
in class FilterEvaluator.NoFilterEvaluator
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
shouldVisitTable
in class FilterEvaluator.NoFilterEvaluator
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
shouldVisitColumn
in class FilterEvaluator.NoFilterEvaluator
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
shouldVisitFiles
in class FilterEvaluator.NoFilterEvaluator
schemaName
- name of the schemaschema
- schema objectCopyright © 1970 The Apache Software Foundation. All rights reserved.