public static class InfoSchemaRecordGenerator.Tables extends InfoSchemaRecordGenerator<Records.Table>
InfoSchemaRecordGenerator.Catalogs, InfoSchemaRecordGenerator.Columns, InfoSchemaRecordGenerator.Schemata, InfoSchemaRecordGenerator.Tables, InfoSchemaRecordGenerator.Viewsfilter, optionManager| Constructor and Description |
|---|
InfoSchemaRecordGenerator.Tables(OptionManager optionManager) |
| Modifier and Type | Method and Description |
|---|---|
PojoRecordReader<Records.Table> |
getRecordReader() |
boolean |
visitTable(String schemaName,
String tableName,
org.apache.calcite.schema.Table table)
Visit the given table.
|
void |
visitTables(String schemaPath,
org.apache.calcite.schema.SchemaPlus schema)
Visit the tables in the given schema.
|
scanSchema, setInfoSchemaFilter, shouldVisitCatalog, shouldVisitColumn, shouldVisitSchema, shouldVisitTable, visitCatalog, visitField, visitSchemapublic InfoSchemaRecordGenerator.Tables(OptionManager optionManager)
public PojoRecordReader<Records.Table> getRecordReader()
getRecordReader in class InfoSchemaRecordGenerator<Records.Table>public void visitTables(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
InfoSchemaRecordGeneratorvisitTables in class InfoSchemaRecordGenerator<Records.Table>schemaPath - the path to the given schemaschema - the given schemapublic boolean visitTable(String schemaName, String tableName, org.apache.calcite.schema.Table table)
InfoSchemaRecordGeneratorvisitTable in class InfoSchemaRecordGenerator<Records.Table>schemaName - Name of the schema where the table is presenttableName - Name of the tabletable - Table objectCopyright © 2017 The Apache Software Foundation. All rights reserved.