Interface RecordCollector
- All Known Implementing Classes:
RecordCollector.BasicRecordCollector
,RecordCollector.MetastoreRecordCollector
public interface RecordCollector
Provides methods to collect various information_schema data.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Provides information_schema data based on information stored inAbstractSchema
.static class
Provides information_schema data based on information stored in Drill Metastore. -
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.
-
Method Details
-
catalogs
Collects catalogs data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of catalog records
-
schemas
Collects schemas data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of schema records
-
tables
Collects tables data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of table records
-
views
Collects views data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of view records
-
columns
Collects columns data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of column records
-
partitions
Collects partitions data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of partition records
-
files
Collects files data for information_schema.- Parameters:
schemaPath
- schema nameschema
- schema instance- Returns:
- list of file records
-