Class RecordCollector.BasicRecordCollector
java.lang.Object
org.apache.drill.exec.store.ischema.RecordCollector.BasicRecordCollector
- All Implemented Interfaces:
RecordCollector
- Enclosing interface:
- RecordCollector
Provides information_schema data based on information stored in
AbstractSchema
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.store.ischema.RecordCollector
RecordCollector.BasicRecordCollector, RecordCollector.MetastoreRecordCollector
-
Constructor Summary
ConstructorDescriptionBasicRecordCollector
(FilterEvaluator filterEvaluator, OptionManager optionManager) -
Method Summary
Modifier and TypeMethodDescriptionCollects catalogs data for information_schema.Collects columns data for information_schema.Collects files data for information_schema.partitions
(String schemaPath, org.apache.calcite.schema.SchemaPlus schema) Collects partitions data for information_schema.Collects schemas data for information_schema.Collects tables data for information_schema.Collects views data for information_schema.
-
Constructor Details
-
BasicRecordCollector
-
-
Method Details
-
catalogs
public List<Records.Catalog> catalogs(String schemaPath, org.apache.calcite.schema.SchemaPlus schema) Description copied from interface:RecordCollector
Collects catalogs data for information_schema.- Specified by:
catalogs
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of catalog records
-
schemas
Description copied from interface:RecordCollector
Collects schemas data for information_schema.- Specified by:
schemas
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of schema records
-
tables
Description copied from interface:RecordCollector
Collects tables data for information_schema.- Specified by:
tables
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of table records
-
views
Description copied from interface:RecordCollector
Collects views data for information_schema.- Specified by:
views
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of view records
-
columns
Description copied from interface:RecordCollector
Collects columns data for information_schema.- Specified by:
columns
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of column records
-
partitions
public List<Records.Partition> partitions(String schemaPath, org.apache.calcite.schema.SchemaPlus schema) Description copied from interface:RecordCollector
Collects partitions data for information_schema.- Specified by:
partitions
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of partition records
-
files
Description copied from interface:RecordCollector
Collects files data for information_schema.- Specified by:
files
in interfaceRecordCollector
- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of file records
-