Package org.apache.drill.exec.store.avro
Class AvroFormatPlugin
java.lang.Object
org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin<AvroFormatConfig>
org.apache.drill.exec.store.avro.AvroFormatPlugin
- All Implemented Interfaces:
FormatPlugin
Format plugin for Avro data files.
-
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
Fields inherited from class org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin
formatConfig
-
Constructor Summary
ConstructorDescriptionAvroFormatPlugin
(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, AvroFormatConfig formatConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureScan
(FileScanLifecycleBuilder builder, EasySubScan scan) Configure an EVF (v2) scan, which must at least include the factory to create readers.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, writeStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.store.dfs.FormatPlugin
getGroupScan, getGroupScan, getOptimizerRules
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
AvroFormatPlugin
public AvroFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, AvroFormatConfig formatConfig)
-
-
Method Details
-
configureScan
Description copied from class:EasyFormatPlugin
Configure an EVF (v2) scan, which must at least include the factory to create readers.- Overrides:
configureScan
in classEasyFormatPlugin<AvroFormatConfig>
- Parameters:
builder
- the builder with default options already set, and which allows the plugin implementation to set others
-