public class ShpFormatPlugin extends EasyFormatPlugin<ShpFormatConfig>
Modifier and Type | Class and Description |
---|---|
static class |
ShpFormatPlugin.ShpReaderFactory |
EasyFormatPlugin.EasyFormatConfig
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_NAME |
formatConfig
Constructor and Description |
---|
ShpFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
ShpFormatConfig 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, supportsPushDown, supportsRead, supportsStatistics, supportsWrite, useEnhancedScan, writeStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupScan, getGroupScan
public static final String PLUGIN_NAME
public ShpFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, ShpFormatConfig formatConfig)
public ManagedReader<? extends FileScanFramework.FileSchemaNegotiator> newBatchReader(EasySubScan scan, OptionManager options) throws ExecutionSetupException
newBatchReader
in class EasyFormatPlugin<ShpFormatConfig>
ExecutionSetupException
protected FileScanFramework.FileScanBuilder frameworkBuilder(OptionManager options, EasySubScan scan)
EasyFormatPlugin
frameworkBuilder
in class EasyFormatPlugin<ShpFormatConfig>
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 © 2021 The Apache Software Foundation. All rights reserved.