public class SequenceFileFormatPlugin extends EasyFormatPlugin<SequenceFileFormatConfig>
formatConfig| Constructor and Description |
|---|
SequenceFileFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig) |
SequenceFileFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
SequenceFileFormatConfig formatConfig) |
| Modifier and Type | Method and Description |
|---|---|
AbstractGroupScan |
getGroupScan(String userName,
FileSelection selection,
List<SchemaPath> columns) |
int |
getReaderOperatorType() |
RecordReader |
getRecordReader(FragmentContext context,
DrillFileSystem dfs,
FileWork fileWork,
List<SchemaPath> columns,
String userName) |
RecordWriter |
getRecordWriter(FragmentContext context,
EasyWriter writer) |
int |
getWriterOperatorType() |
boolean |
supportsPushDown() |
getConfig, getContext, getFsConf, getMatcher, getName, getOptimizerRules, getScanStats, getStorageConfig, getWriter, getWriterBatch, isBlockSplittable, isCompressible, supportsAutoPartitioning, supportsRead, supportsWritepublic SequenceFileFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig)
public SequenceFileFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, SequenceFileFormatConfig formatConfig)
public boolean supportsPushDown()
supportsPushDown in class EasyFormatPlugin<SequenceFileFormatConfig>public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException
getGroupScan in interface FormatPlugingetGroupScan in class EasyFormatPlugin<SequenceFileFormatConfig>IOExceptionpublic RecordReader getRecordReader(FragmentContext context, DrillFileSystem dfs, FileWork fileWork, List<SchemaPath> columns, String userName) throws ExecutionSetupException
getRecordReader in class EasyFormatPlugin<SequenceFileFormatConfig>ExecutionSetupExceptionpublic int getReaderOperatorType()
getReaderOperatorType in class EasyFormatPlugin<SequenceFileFormatConfig>public RecordWriter getRecordWriter(FragmentContext context, EasyWriter writer) throws IOException
getRecordWriter in class EasyFormatPlugin<SequenceFileFormatConfig>IOExceptionpublic int getWriterOperatorType()
getWriterOperatorType in class EasyFormatPlugin<SequenceFileFormatConfig>Copyright © 2017 The Apache Software Foundation. All rights reserved.