Class DeltaFormatPlugin
java.lang.Object
org.apache.drill.exec.store.delta.format.DeltaFormatPlugin
- All Implemented Interfaces:
FormatPlugin
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, FileSystemConfig storageConfig, DeltaFormatPluginConfig config) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.plan.Conventionorg.apache.hadoop.conf.ConfigurationgetGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager) getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options) getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options, MetadataProviderManager metadataProviderManager) getName()Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(PlannerPhase phase) getWriter(PhysicalOperator child, String location, List<String> partitionColumns) readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) booleanIndicates whether this FormatPlugin supports auto-partitioning for CTAS statementsbooleanbooleanbooleanvoidwriteStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.store.dfs.FormatPlugin
getOptimizerRules
-
Constructor Details
-
DeltaFormatPlugin
public DeltaFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, FileSystemConfig storageConfig, DeltaFormatPluginConfig config)
-
-
Method Details
-
supportsRead
public boolean supportsRead()- Specified by:
supportsReadin interfaceFormatPlugin
-
supportsWrite
public boolean supportsWrite()- Specified by:
supportsWritein interfaceFormatPlugin
-
supportsAutoPartitioning
public boolean supportsAutoPartitioning()Description copied from interface:FormatPluginIndicates whether this FormatPlugin supports auto-partitioning for CTAS statements- Specified by:
supportsAutoPartitioningin interfaceFormatPlugin- Returns:
- true if auto-partitioning is supported
-
getMatcher
- Specified by:
getMatcherin interfaceFormatPlugin
-
getWriter
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) - Specified by:
getWriterin interfaceFormatPlugin
-
getOptimizerRules
- Specified by:
getOptimizerRulesin interfaceFormatPlugin
-
getGroupScan
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException - Specified by:
getGroupScanin interfaceFormatPlugin- Throws:
IOException
-
getGroupScan
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options) throws IOException - Specified by:
getGroupScanin interfaceFormatPlugin- Throws:
IOException
-
getGroupScan
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options, MetadataProviderManager metadataProviderManager) throws IOException - Specified by:
getGroupScanin interfaceFormatPlugin- Throws:
IOException
-
getGroupScan
public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager) throws IOException - Specified by:
getGroupScanin interfaceFormatPlugin- Throws:
IOException
-
supportsStatistics
public boolean supportsStatistics()- Specified by:
supportsStatisticsin interfaceFormatPlugin
-
readStatistics
public DrillStatsTable.TableStatistics readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) - Specified by:
readStatisticsin interfaceFormatPlugin
-
writeStatistics
public void writeStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) - Specified by:
writeStatisticsin interfaceFormatPlugin
-
getConfig
- Specified by:
getConfigin interfaceFormatPlugin
-
getStorageConfig
- Specified by:
getStorageConfigin interfaceFormatPlugin
-
getFsConf
public org.apache.hadoop.conf.Configuration getFsConf()- Specified by:
getFsConfin interfaceFormatPlugin
-
getContext
- Specified by:
getContextin interfaceFormatPlugin
-
getName
- Specified by:
getNamein interfaceFormatPlugin
-
getConvention
public org.apache.calcite.plan.Convention getConvention()
-