Class MetadataControllerContext

java.lang.Object
org.apache.drill.exec.metastore.analyze.MetadataControllerContext

public class MetadataControllerContext extends Object
Class which provides information required for storing metadata to the Metastore when performing analyze.
  • Method Details

    • tableInfo

      public TableInfo tableInfo()
    • metastoreTableInfo

      public MetastoreTableInfo metastoreTableInfo()
    • location

      public org.apache.hadoop.fs.Path location()
    • interestingColumns

      public List<SchemaPath> interestingColumns()
    • segmentColumns

      public List<String> segmentColumns()
    • metadataToHandle

      public List<MetadataInfo> metadataToHandle()
    • metadataToRemove

      public List<MetadataInfo> metadataToRemove()
    • analyzeMetadataLevel

      public MetadataType analyzeMetadataLevel()
    • multiValueSegments

      public boolean multiValueSegments()
      Specifies whether metadata controller should create segments with multiple partition values. For example, Hive partitions contain multiple partition values within the same segment.
      Returns:
      true if metadata controller should create segments with multiple partition values, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder