public class AvroFormatPlugin extends EasyFormatPlugin<AvroFormatConfig>
formatConfig| Constructor and Description |
|---|
AvroFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storagePluginConfig) |
AvroFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig config,
AvroFormatConfig formatPluginConfig) |
| Modifier and Type | Method and Description |
|---|---|
FormatMatcher |
getMatcher() |
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, getGroupScan, getName, getOptimizerRules, getScanStats, getStorageConfig, getWriter, getWriterBatch, isBlockSplittable, isCompressible, supportsAutoPartitioning, supportsRead, supportsWritepublic AvroFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storagePluginConfig)
public AvroFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig config, AvroFormatConfig formatPluginConfig)
public boolean supportsPushDown()
supportsPushDown in class EasyFormatPlugin<AvroFormatConfig>public RecordReader getRecordReader(FragmentContext context, DrillFileSystem dfs, FileWork fileWork, List<SchemaPath> columns, String userName) throws ExecutionSetupException
getRecordReader in class EasyFormatPlugin<AvroFormatConfig>ExecutionSetupExceptionpublic RecordWriter getRecordWriter(FragmentContext context, EasyWriter writer) throws IOException
getRecordWriter in class EasyFormatPlugin<AvroFormatConfig>IOExceptionpublic int getReaderOperatorType()
getReaderOperatorType in class EasyFormatPlugin<AvroFormatConfig>public int getWriterOperatorType()
getWriterOperatorType in class EasyFormatPlugin<AvroFormatConfig>public FormatMatcher getMatcher()
getMatcher in interface FormatPlugingetMatcher in class EasyFormatPlugin<AvroFormatConfig>Copyright © 2017 The Apache Software Foundation. All rights reserved.