Class ExcelFormatConfig
java.lang.Object
org.apache.drill.exec.store.excel.ExcelFormatConfig
- All Implemented Interfaces:
FormatPluginConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
int
boolean
int
int
int
See thesetByteArrayMaxOverride
section in the Apache POI configuration doc.org.apache.drill.exec.store.excel.ExcelBatchReader.ExcelReaderConfig
getReaderConfig
(ExcelFormatPlugin plugin) int
See thesetThresholdBytesForTempFiles
section in the Apache POI configuration doc.int
hashCode()
boolean
See thesetUseTempFilePackageParts
section in the Apache POI configuration doc.toString()
-
Constructor Details
-
ExcelFormatConfig
-
-
Method Details
-
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
-
getMaxArraySize
public int getMaxArraySize()See thesetByteArrayMaxOverride
section in the Apache POI configuration doc.- Returns:
- max size of POI array (-1 means default limits applied)
-
getThresholdBytesForTempFiles
public int getThresholdBytesForTempFiles()See thesetThresholdBytesForTempFiles
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 thesetUseTempFilePackageParts
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() -
equals
-
toString
-