public abstract class TableFormatPlugin extends Object implements FormatPlugin
Modifier | Constructor and Description |
---|---|
protected |
TableFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
TableFormatPluginConfig formatConfig) |
Modifier and Type | Method and Description |
---|---|
FormatPluginConfig |
getConfig() |
DrillbitContext |
getContext() |
org.apache.hadoop.conf.Configuration |
getFsConf() |
com.mapr.fs.MapRFileSystem |
getMaprFS() |
String |
getName() |
Set<StoragePluginOptimizerRule> |
getOptimizerRules() |
StoragePluginConfig |
getStorageConfig() |
AbstractStoragePlugin |
getStoragePlugin() |
AbstractWriter |
getWriter(PhysicalOperator child,
String location,
List<String> partitionColumns) |
boolean |
supportsAutoPartitioning()
Indicates whether this FormatPlugin supports auto-partitioning for CTAS statements
|
boolean |
supportsRead() |
boolean |
supportsWrite() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupScan, getGroupScan, getGroupScan, getGroupScan, getMatcher, getOptimizerRules, readStatistics, supportsStatistics, writeStatistics
protected TableFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, TableFormatPluginConfig formatConfig)
public boolean supportsRead()
supportsRead
in interface FormatPlugin
public boolean supportsWrite()
supportsWrite
in interface FormatPlugin
public boolean supportsAutoPartitioning()
FormatPlugin
supportsAutoPartitioning
in interface FormatPlugin
public org.apache.hadoop.conf.Configuration getFsConf()
getFsConf
in interface FormatPlugin
public Set<StoragePluginOptimizerRule> getOptimizerRules()
getOptimizerRules
in interface FormatPlugin
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException
getWriter
in interface FormatPlugin
IOException
public FormatPluginConfig getConfig()
getConfig
in interface FormatPlugin
public StoragePluginConfig getStorageConfig()
getStorageConfig
in interface FormatPlugin
public DrillbitContext getContext()
getContext
in interface FormatPlugin
public String getName()
getName
in interface FormatPlugin
public AbstractStoragePlugin getStoragePlugin()
public com.mapr.fs.MapRFileSystem getMaprFS()
Copyright © 1970 The Apache Software Foundation. All rights reserved.