Class RecordCollector.BasicRecordCollector

java.lang.Object
org.apache.drill.exec.store.ischema.RecordCollector.BasicRecordCollector
All Implemented Interfaces:
RecordCollector
Enclosing interface:
RecordCollector

public static class RecordCollector.BasicRecordCollector extends Object implements RecordCollector
Provides information_schema data based on information stored in AbstractSchema.
  • Constructor Details

  • 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 interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of catalog records
    • schemas

      public List<Records.Schema> schemas(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: RecordCollector
      Collects schemas data for information_schema.
      Specified by:
      schemas in interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of schema records
    • tables

      public List<Records.Table> tables(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: RecordCollector
      Collects tables data for information_schema.
      Specified by:
      tables in interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of table records
    • views

      public List<Records.View> views(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: RecordCollector
      Collects views data for information_schema.
      Specified by:
      views in interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of view records
    • columns

      public List<Records.Column> columns(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: RecordCollector
      Collects columns data for information_schema.
      Specified by:
      columns in interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - 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 interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of partition records
    • files

      public List<Records.File> files(String schemaPath, org.apache.calcite.schema.SchemaPlus schema)
      Description copied from interface: RecordCollector
      Collects files data for information_schema.
      Specified by:
      files in interface RecordCollector
      Parameters:
      schemaPath - schema name
      schema - schema instance
      Returns:
      list of file records