public class IcebergFormatPlugin extends Object implements FormatPlugin
Constructor and Description |
---|
IcebergFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
FileSystemConfig storageConfig,
IcebergFormatPluginConfig config) |
Modifier and Type | Method and Description |
---|---|
IcebergFormatPluginConfig |
getConfig() |
DrillbitContext |
getContext() |
org.apache.calcite.plan.Convention |
getConvention() |
org.apache.hadoop.conf.Configuration |
getFsConf() |
AbstractGroupScan |
getGroupScan(String userName,
FileSelection selection,
List<SchemaPath> columns) |
AbstractGroupScan |
getGroupScan(String userName,
FileSelection selection,
List<SchemaPath> columns,
MetadataProviderManager metadataProviderManager) |
FormatMatcher |
getMatcher() |
String |
getName() |
Set<? extends org.apache.calcite.plan.RelOptRule> |
getOptimizerRules(PlannerPhase phase) |
FileSystemConfig |
getStorageConfig() |
AbstractWriter |
getWriter(PhysicalOperator child,
String location,
List<String> partitionColumns) |
DrillStatsTable.TableStatistics |
readStatistics(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path statsTablePath) |
boolean |
supportsAutoPartitioning()
Indicates whether this FormatPlugin supports auto-partitioning for CTAS statements
|
boolean |
supportsRead() |
boolean |
supportsStatistics() |
boolean |
supportsWrite() |
void |
writeStatistics(DrillStatsTable.TableStatistics statistics,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path statsTablePath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupScan, getGroupScan, getOptimizerRules
public IcebergFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, FileSystemConfig storageConfig, IcebergFormatPluginConfig config)
public boolean supportsRead()
supportsRead
in interface FormatPlugin
public boolean supportsWrite()
supportsWrite
in interface FormatPlugin
public boolean supportsAutoPartitioning()
FormatPlugin
supportsAutoPartitioning
in interface FormatPlugin
public FormatMatcher getMatcher()
getMatcher
in interface FormatPlugin
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns)
getWriter
in interface FormatPlugin
public Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(PlannerPhase phase)
getOptimizerRules
in interface FormatPlugin
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException
getGroupScan
in interface FormatPlugin
IOException
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager) throws IOException
getGroupScan
in interface FormatPlugin
IOException
public boolean supportsStatistics()
supportsStatistics
in interface FormatPlugin
public DrillStatsTable.TableStatistics readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath)
readStatistics
in interface FormatPlugin
public void writeStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath)
writeStatistics
in interface FormatPlugin
public IcebergFormatPluginConfig getConfig()
getConfig
in interface FormatPlugin
public FileSystemConfig getStorageConfig()
getStorageConfig
in interface FormatPlugin
public org.apache.hadoop.conf.Configuration getFsConf()
getFsConf
in interface FormatPlugin
public DrillbitContext getContext()
getContext
in interface FormatPlugin
public String getName()
getName
in interface FormatPlugin
public org.apache.calcite.plan.Convention getConvention()
Copyright © 1970 The Apache Software Foundation. All rights reserved.