public class HttpdLogFormatPlugin extends EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpdLogFormatPlugin.HttpdLogFormatConfig
This class is a POJO to hold the configuration for the HttpdLogFormat Parser.
|
formatConfig| Constructor and Description |
|---|
HttpdLogFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
HttpdLogFormatPlugin.HttpdLogFormatConfig formatConfig) |
| Modifier and Type | Method and Description |
|---|---|
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()
This plugin supports pushing down into the parser.
|
getConfig, getContext, getFsConf, getGroupScan, getMatcher, getName, getOptimizerRules, getScanStats, getStorageConfig, getWriter, getWriterBatch, isBlockSplittable, isCompressible, supportsAutoPartitioning, supportsRead, supportsWritepublic HttpdLogFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, HttpdLogFormatPlugin.HttpdLogFormatConfig formatConfig)
public boolean supportsPushDown()
supportsPushDown in class EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>public RecordReader getRecordReader(FragmentContext context, DrillFileSystem dfs, FileWork fileWork, List<SchemaPath> columns, String userName) throws ExecutionSetupException
getRecordReader in class EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>ExecutionSetupExceptionpublic RecordWriter getRecordWriter(FragmentContext context, EasyWriter writer) throws IOException
getRecordWriter in class EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>IOExceptionpublic int getReaderOperatorType()
getReaderOperatorType in class EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>public int getWriterOperatorType()
getWriterOperatorType in class EasyFormatPlugin<HttpdLogFormatPlugin.HttpdLogFormatConfig>Copyright © 2017 The Apache Software Foundation. All rights reserved.