Class ExcelFormatConfig

java.lang.Object
org.apache.drill.exec.store.excel.ExcelFormatConfig
All Implemented Interfaces:
FormatPluginConfig

public class ExcelFormatConfig extends Object implements FormatPluginConfig
  • Constructor Details

  • Method Details

    • getExtensions

      public List<String> getExtensions()
    • getHeaderRow

      public int getHeaderRow()
    • getLastRow

      public int getLastRow()
    • getFirstColumn

      public int getFirstColumn()
    • getLastColumn

      public int getLastColumn()
    • getAllTextMode

      public boolean getAllTextMode()
    • getIgnoreErrors

      public boolean getIgnoreErrors()
    • getSheetName

      public String getSheetName()
    • getMaxArraySize

      public int getMaxArraySize()
      See the setByteArrayMaxOverride section in the Apache POI configuration doc.
      Returns:
      max size of POI array (-1 means default limits applied)
    • getThresholdBytesForTempFiles

      public int getThresholdBytesForTempFiles()
      See the setThresholdBytesForTempFiles section in the Apache POI configuration doc.
      Returns:
      size at which xlsx parts are switched to temp file backing (-1 means no temp files for this feature - POI does use temp files in some other cases)
    • isUseTempFilePackageParts

      public boolean isUseTempFilePackageParts()
      See the setUseTempFilePackageParts section in the Apache POI configuration doc.
      Returns:
      whether to use temp files for package parts (default is false)
    • getReaderConfig

      public org.apache.drill.exec.store.excel.ExcelBatchReader.ExcelReaderConfig getReaderConfig(ExcelFormatPlugin plugin)
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object