Class InfoSchemaRecordGenerator.Catalogs
java.lang.Object
org.apache.drill.exec.store.ischema.InfoSchemaRecordGenerator<Records.Catalog>
org.apache.drill.exec.store.ischema.InfoSchemaRecordGenerator.Catalogs
- Enclosing class:
- InfoSchemaRecordGenerator<S>
public static class InfoSchemaRecordGenerator.Catalogs
extends InfoSchemaRecordGenerator<Records.Catalog>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.store.ischema.InfoSchemaRecordGenerator
InfoSchemaRecordGenerator.Catalogs, InfoSchemaRecordGenerator.Columns, InfoSchemaRecordGenerator.Files, InfoSchemaRecordGenerator.Partitions, InfoSchemaRecordGenerator.Schemata, InfoSchemaRecordGenerator.Tables, InfoSchemaRecordGenerator.Views
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.ischema.InfoSchemaRecordGenerator
records
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<Records.Catalog>
collect
(RecordCollector recordCollector, String schemaPath, org.apache.calcite.schema.SchemaPlus schema) protected void
scanSchema
(String schemaPath, org.apache.calcite.schema.SchemaPlus schema) Recursively scans the given schema, invoking the visitor as appropriate.Methods inherited from class org.apache.drill.exec.store.ischema.InfoSchemaRecordGenerator
registerRecordCollector, scanSchema, visit
-
Constructor Details
-
Catalogs
-
-
Method Details
-
getRecordReader
- Specified by:
getRecordReader
in classInfoSchemaRecordGenerator<Records.Catalog>
-
collect
protected List<Records.Catalog> collect(RecordCollector recordCollector, String schemaPath, org.apache.calcite.schema.SchemaPlus schema) - Specified by:
collect
in classInfoSchemaRecordGenerator<Records.Catalog>
-
scanSchema
Description copied from class:InfoSchemaRecordGenerator
Recursively scans the given schema, invoking the visitor as appropriate.- Overrides:
scanSchema
in classInfoSchemaRecordGenerator<Records.Catalog>
- Parameters:
schemaPath
- the path to the given schema, so farschema
- the given schema
-