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