Class AnalyzeParquetInfoProvider
java.lang.Object
org.apache.drill.exec.metastore.analyze.AnalyzeFileInfoProvider
org.apache.drill.exec.metastore.analyze.AnalyzeParquetInfoProvider
- All Implemented Interfaces:
AnalyzeInfoProvider
Implementation of
AnalyzeInfoProvider for parquet tables.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjectionFields(DrillTable table, MetadataType metadataLevel, ColumnNamesOptions columnNamesOptions) Returns list of fields required for ANALYZE.Returns table type name supported by thisAnalyzeInfoProvider.booleansupportsGroupScan(GroupScan groupScan) Checks whether thisAnalyzeInfoProvidersupports specifiedGroupScantype.booleansupportsMetadataType(MetadataType metadataType) Checks whether thisAnalyzeInfoProvidersupports specifiedMetadataType.Methods inherited from class org.apache.drill.exec.metastore.analyze.AnalyzeFileInfoProvider
getLocationField, getMetadataInfoCollector, getParentLocationExpression, getSegmentColumns
-
Field Details
-
INSTANCE
-
TABLE_TYPE_NAME
- See Also:
-
-
Constructor Details
-
AnalyzeParquetInfoProvider
public AnalyzeParquetInfoProvider()
-
-
Method Details
-
getProjectionFields
public List<SchemaPath> getProjectionFields(DrillTable table, MetadataType metadataLevel, ColumnNamesOptions columnNamesOptions) throws IOException Description copied from interface:AnalyzeInfoProviderReturns list of fields required for ANALYZE.- Specified by:
getProjectionFieldsin interfaceAnalyzeInfoProvider- Overrides:
getProjectionFieldsin classAnalyzeFileInfoProvider- Parameters:
table- drill tablemetadataLevel- metadata level for analyzecolumnNamesOptions- column names option values- Returns:
- list of fields required for ANALYZE
- Throws:
IOException
-
supportsGroupScan
Description copied from interface:AnalyzeInfoProviderChecks whether thisAnalyzeInfoProvidersupports specifiedGroupScantype.- Parameters:
groupScan- group scan- Returns:
trueif thisAnalyzeInfoProvidersupports specifiedGroupScantype
-
getTableTypeName
Description copied from interface:AnalyzeInfoProviderReturns table type name supported by thisAnalyzeInfoProvider.- Returns:
- table type name
-
supportsMetadataType
Description copied from interface:AnalyzeInfoProviderChecks whether thisAnalyzeInfoProvidersupports specifiedMetadataType.- Parameters:
metadataType- metadata type- Returns:
trueif thisAnalyzeInfoProvidersupports specifiedMetadataType
-