public class SequenceFileFormatPlugin extends EasyFormatPlugin<SequenceFileFormatConfig>
EasyFormatPlugin.EasyFormatConfig, EasyFormatPlugin.EasyFormatConfigBuilder
Modifier and Type | Field and Description |
---|---|
static String |
OPERATOR_TYPE |
formatConfig
Constructor and Description |
---|
SequenceFileFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
SequenceFileFormatConfig formatConfig) |
Modifier and Type | Method and Description |
---|---|
protected FileScanFramework.FileScanBuilder |
frameworkBuilder(OptionManager options,
EasySubScan scan)
Create the plugin-specific framework that manages the scan.
|
ManagedReader<? extends FileScanFramework.FileSchemaNegotiator> |
newBatchReader(EasySubScan scan,
OptionManager options) |
easyConfig, getConfig, getContext, getFsConf, getGroupScan, getGroupScan, getMatcher, getName, getOptimizerRules, getReaderBatch, getReaderOperatorType, getRecordReader, getRecordWriter, getScanStats, getStatisticsRecordWriter, getStorageConfig, getWriter, getWriterBatch, getWriterOperatorType, initScanBuilder, isBlockSplittable, isCompressible, isStatisticsRecordWriter, readStatistics, supportsAutoPartitioning, supportsFileImplicitColumns, supportsLimitPushdown, supportsPushDown, supportsRead, supportsStatistics, supportsWrite, useEnhancedScan, writeStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupScan, getGroupScan, getOptimizerRules
public static final String OPERATOR_TYPE
public SequenceFileFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, SequenceFileFormatConfig formatConfig)
public ManagedReader<? extends FileScanFramework.FileSchemaNegotiator> newBatchReader(EasySubScan scan, OptionManager options) throws ExecutionSetupException
newBatchReader
in class EasyFormatPlugin<SequenceFileFormatConfig>
ExecutionSetupException
protected FileScanFramework.FileScanBuilder frameworkBuilder(OptionManager options, EasySubScan scan) throws ExecutionSetupException
EasyFormatPlugin
frameworkBuilder
in class EasyFormatPlugin<SequenceFileFormatConfig>
scan
- the physical operation definition for the scan operation. Contains
one or more files to read. (The Easy format plugin works only for files.)ExecutionSetupException
- for all setup failuresCopyright © 1970 The Apache Software Foundation. All rights reserved.