public class ParquetFormatPlugin extends Object implements FormatPlugin
| Modifier and Type | Field and Description |
|---|---|
static org.apache.parquet.format.converter.ParquetMetadataConverter |
parquetMetadataConverter |
| Constructor and Description |
|---|
ParquetFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig) |
ParquetFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
ParquetFormatConfig formatConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroupScanpublic static final org.apache.parquet.format.converter.ParquetMetadataConverter parquetMetadataConverter
public ParquetFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig)
public ParquetFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, ParquetFormatConfig formatConfig)
public org.apache.hadoop.conf.Configuration getFsConf()
getFsConf in interface FormatPluginpublic ParquetFormatConfig getConfig()
getConfig in interface FormatPluginpublic DrillbitContext getContext()
getContext in interface FormatPluginpublic boolean supportsRead()
supportsRead 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 org.apache.drill.exec.store.RecordWriter getRecordWriter(FragmentContext context, ParquetWriter writer) throws IOException, OutOfMemoryException
IOExceptionOutOfMemoryExceptionpublic WriterRecordBatch getWriterBatch(FragmentContext context, RecordBatch incoming, ParquetWriter writer) throws ExecutionSetupException
ExecutionSetupExceptionpublic AbstractFileGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException
getGroupScan in interface FormatPluginIOExceptionpublic AbstractFileGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options) throws IOException
getGroupScan in interface FormatPluginIOExceptionpublic AbstractFileGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, OptionManager options, MetadataProviderManager metadataProviderManager) throws IOException
getGroupScan in interface FormatPluginIOExceptionpublic boolean supportsStatistics()
supportsStatistics in interface FormatPluginpublic DrillStatsTable.TableStatistics readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) throws IOException
readStatistics in interface FormatPluginIOExceptionpublic void writeStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) throws IOException
writeStatistics in interface FormatPluginIOExceptionpublic StoragePluginConfig getStorageConfig()
getStorageConfig in interface FormatPluginpublic String getName()
getName in interface FormatPluginpublic boolean supportsWrite()
supportsWrite in interface FormatPluginpublic boolean supportsAutoPartitioning()
FormatPluginsupportsAutoPartitioning in interface FormatPluginpublic FormatMatcher getMatcher()
getMatcher in interface FormatPluginCopyright © 2021 The Apache Software Foundation. All rights reserved.