Class MSAccessFormatPlugin
java.lang.Object
org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin<MSAccessFormatConfig>
org.apache.drill.exec.store.msaccess.MSAccessFormatPlugin
- All Implemented Interfaces:
FormatPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin
EasyFormatPlugin.EasyFormatConfig, EasyFormatPlugin.EasyFormatConfigBuilder, EasyFormatPlugin.ScanFrameworkVersion -
Field Summary
FieldsFields inherited from class org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin
formatConfig -
Constructor Summary
ConstructorsConstructorDescriptionMSAccessFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, MSAccessFormatConfig formatConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureScan(FileScanLifecycleBuilder builder, EasySubScan scan) Configure an EVF (v2) scan, which must at least include the factory to create readers.protected FileFirst tries to get drill temporary directory value from config ${drill.tmp-dir}, then checks environmental variable $DRILL_TMP_DIR.Methods inherited from class org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin
easyConfig, frameworkBuilder, getConfig, getContext, getFsConf, getGroupScan, getGroupScan, getMatcher, getName, getOptimizerRules, getReaderBatch, getReaderOperatorType, getRecordReader, getRecordWriter, getScanStats, getStatisticsRecordWriter, getStorageConfig, getWriter, getWriterBatch, getWriterOperatorType, initScanBuilder, isBlockSplittable, isCompressible, isStatisticsRecordWriter, newBatchReader, readStatistics, scanVersion, supportsAutoPartitioning, supportsFileImplicitColumns, supportsLimitPushdown, supportsPushDown, supportsRead, supportsStatistics, supportsWrite, writeStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.store.dfs.FormatPlugin
getGroupScan, getGroupScan, getOptimizerRules
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
MSAccessFormatPlugin
public MSAccessFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, MSAccessFormatConfig formatConfig)
-
-
Method Details
-
configureScan
Description copied from class:EasyFormatPluginConfigure an EVF (v2) scan, which must at least include the factory to create readers.- Overrides:
configureScanin classEasyFormatPlugin<MSAccessFormatConfig>- Parameters:
builder- the builder with default options already set, and which allows the plugin implementation to set others
-
getTmpDir
First tries to get drill temporary directory value from config ${drill.tmp-dir}, then checks environmental variable $DRILL_TMP_DIR. If value is still missing, generates directory usingFiles.createTempDir().- Returns:
- drill temporary directory path
-