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, waitgetGroupScan, getGroupScan, getGroupScan, getGroupScan, getMatcher, readStatistics, supportsStatistics, writeStatisticsprotected TableFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, TableFormatPluginConfig formatConfig)
public boolean supportsRead()
supportsRead in interface FormatPluginpublic boolean supportsWrite()
supportsWrite in interface FormatPluginpublic boolean supportsAutoPartitioning()
FormatPluginsupportsAutoPartitioning in interface FormatPluginpublic org.apache.hadoop.conf.Configuration getFsConf()
getFsConf in interface FormatPluginpublic Set<StoragePluginOptimizerRule> getOptimizerRules()
getOptimizerRules in interface FormatPluginpublic AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException
getWriter in interface FormatPluginIOExceptionpublic FormatPluginConfig getConfig()
getConfig in interface FormatPluginpublic StoragePluginConfig getStorageConfig()
getStorageConfig in interface FormatPluginpublic DrillbitContext getContext()
getContext in interface FormatPluginpublic String getName()
getName in interface FormatPluginpublic AbstractStoragePlugin getStoragePlugin()
public com.mapr.fs.MapRFileSystem getMaprFS()
Copyright © 2021 The Apache Software Foundation. All rights reserved.