public interface FilterEvaluator
Modifier and Type | Interface and Description |
---|---|
static class |
FilterEvaluator.InfoSchemaFilterEvaluator
Evaluates necessity to visit certain type of information_schema data using provided filter.
|
static class |
FilterEvaluator.NoFilterEvaluator
Evaluates necessity to visit certain type of information_schema data based
on given schema type.
|
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.
|
boolean shouldVisitCatalog()
boolean shouldPruneSchema(String schemaName)
schemaName
- name of the schemaschema
- schema objectboolean shouldVisitSchema(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
schemaName
- name of the schemaschema
- schema objectboolean shouldVisitTable(String schemaName, String tableName, org.apache.calcite.schema.Schema.TableType tableType)
schemaName
- name of the schematableName
- name of the tabletableType
- type of the tableboolean shouldVisitColumn(String schemaName, String tableName, String columnName)
schemaName
- name of the schematableName
- name of the tablecolumnName
- type of the tableboolean shouldVisitFiles(String schemaName, org.apache.calcite.schema.SchemaPlus schema)
schemaName
- name of the schemaschema
- schema objectCopyright © 1970 The Apache Software Foundation. All rights reserved.