public class XMLFormatPlugin extends EasyFormatPlugin<XMLFormatConfig>
Modifier and Type | Class and Description |
---|---|
static class |
XMLFormatPlugin.XMLReaderFactory |
EasyFormatPlugin.EasyFormatConfig, EasyFormatPlugin.EasyFormatConfigBuilder
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
formatConfig
Constructor and Description |
---|
XMLFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
XMLFormatConfig 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 DEFAULT_NAME
public XMLFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, XMLFormatConfig formatConfig)
public ManagedReader<? extends FileScanFramework.FileSchemaNegotiator> newBatchReader(EasySubScan scan, OptionManager options)
newBatchReader
in class EasyFormatPlugin<XMLFormatConfig>
protected FileScanFramework.FileScanBuilder frameworkBuilder(OptionManager options, EasySubScan scan)
EasyFormatPlugin
frameworkBuilder
in class EasyFormatPlugin<XMLFormatConfig>
scan
- the physical operation definition for the scan operation. Contains
one or more files to read. (The Easy format plugin works only for files.)Copyright © 1970 The Apache Software Foundation. All rights reserved.