Class ParquetReaderConfig

java.lang.Object
org.apache.drill.exec.store.parquet.ParquetReaderConfig

public class ParquetReaderConfig extends Object
Stores consolidated parquet reading configuration. Can obtain config values from various sources: Assignment priority of configuration values is the following:
  • parquet format config
  • Hadoop configuration
  • session options
  • During serialization does not deserialize the default values in keep serialized object smaller.
    • Field Details

    • Constructor Details

      • ParquetReaderConfig

        public ParquetReaderConfig(Boolean enableBytesReadCounter, Boolean enableBytesTotalCounter, Boolean enableTimeReadCounter, Boolean autoCorrectCorruptedDates, Boolean enableStringsSignedMinMax)
    • Method Details

      • builder

        public static ParquetReaderConfig.Builder builder()
      • getDefaultInstance

        public static ParquetReaderConfig getDefaultInstance()
      • enableBytesReadCounter

        public boolean enableBytesReadCounter()
      • enableBytesTotalCounter

        public boolean enableBytesTotalCounter()
      • enableTimeReadCounter

        public boolean enableTimeReadCounter()
      • autoCorrectCorruptedDates

        public boolean autoCorrectCorruptedDates()
      • enableStringsSignedMinMax

        public boolean enableStringsSignedMinMax()
      • toReadOptions

        public org.apache.parquet.ParquetReadOptions toReadOptions()
      • addCountersToConf

        public org.apache.hadoop.conf.Configuration addCountersToConf(org.apache.hadoop.conf.Configuration conf)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals(Object o)
        Overrides:
        equals in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object