public static class InfoSchemaRecordGenerator.Catalogs extends InfoSchemaRecordGenerator<Records.Catalog>
InfoSchemaRecordGenerator.Catalogs, InfoSchemaRecordGenerator.Columns, InfoSchemaRecordGenerator.Files, InfoSchemaRecordGenerator.Partitions, InfoSchemaRecordGenerator.Schemata, InfoSchemaRecordGenerator.Tables, InfoSchemaRecordGenerator.Views
records
Constructor and Description |
---|
Catalogs(FilterEvaluator filterEvaluator) |
Modifier and Type | Method and Description |
---|---|
protected List<Records.Catalog> |
collect(RecordCollector recordCollector,
String schemaPath,
org.apache.calcite.schema.SchemaPlus schema) |
PojoRecordReader<Records.Catalog> |
getRecordReader() |
protected void |
scanSchema(String schemaPath,
org.apache.calcite.schema.SchemaPlus schema)
Recursively scans the given schema, invoking the visitor as appropriate.
|
registerRecordCollector, scanSchema, visit
public Catalogs(FilterEvaluator filterEvaluator)
public PojoRecordReader<Records.Catalog> getRecordReader()
getRecordReader
in class InfoSchemaRecordGenerator<Records.Catalog>
protected List<Records.Catalog> collect(RecordCollector recordCollector, String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
collect
in class InfoSchemaRecordGenerator<Records.Catalog>
protected void scanSchema(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
InfoSchemaRecordGenerator
scanSchema
in class InfoSchemaRecordGenerator<Records.Catalog>
schemaPath
- the path to the given schema, so farschema
- the given schemaCopyright © 1970 The Apache Software Foundation. All rights reserved.