Package org.apache.drill.exec.store.dfs
Interface FormatPlugin
- All Known Implementing Classes:
- AvroFormatPlugin,- BasePcapFormatPlugin,- DeltaFormatPlugin,- EasyFormatPlugin,- ExcelFormatPlugin,- HDF5FormatPlugin,- HttpdLogFormatPlugin,- IcebergFormatPlugin,- ImageFormatPlugin,- JSONFormatPlugin,- LogFormatPlugin,- LTSVFormatPlugin,- MSAccessFormatPlugin,- ParquetFormatPlugin,- PcapFormatPlugin,- PcapngFormatPlugin,- PdfFormatPlugin,- SasFormatPlugin,- SequenceFileFormatPlugin,- ShpFormatPlugin,- SpssFormatPlugin,- SyslogFormatPlugin,- TextFormatPlugin,- XMLFormatPlugin
public interface FormatPlugin
Similar to a storage engine but built specifically to work within a FileSystem context.
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.hadoop.conf.ConfigurationgetGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) default AbstractGroupScangetGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager) default AbstractGroupScangetGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options) default AbstractGroupScangetGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options, MetadataProviderManager metadataProvider) getName()default Set<? extends org.apache.calcite.plan.RelOptRule> Deprecated.default 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) 
- 
Method Details- 
supportsReadboolean supportsRead()
- 
supportsWriteboolean supportsWrite()
- 
supportsAutoPartitioningboolean supportsAutoPartitioning()Indicates whether this FormatPlugin supports auto-partitioning for CTAS statements- Returns:
- true if auto-partitioning is supported
 
- 
getMatcherFormatMatcher getMatcher()
- 
getWriterAbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException - Throws:
- IOException
 
- 
getOptimizerRulesDeprecated.
- 
getOptimizerRules
- 
getGroupScanAbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException - Throws:
- IOException
 
- 
getGroupScandefault AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options) throws IOException - Throws:
- IOException
 
- 
getGroupScandefault AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, MetadataProviderManager metadataProviderManager) throws IOException - Throws:
- IOException
 
- 
getGroupScandefault AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options, MetadataProviderManager metadataProvider) throws IOException - Throws:
- IOException
 
- 
supportsStatisticsboolean supportsStatistics()
- 
readStatisticsDrillStatsTable.TableStatistics readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) throws IOException - Throws:
- IOException
 
- 
writeStatisticsvoid writeStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) throws IOException - Throws:
- IOException
 
- 
getConfigFormatPluginConfig getConfig()
- 
getStorageConfigStoragePluginConfig getStorageConfig()
- 
getFsConforg.apache.hadoop.conf.Configuration getFsConf()
- 
getContextDrillbitContext getContext()
- 
getNameString getName()
 
-