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
-
Constructor Summary
-
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
.boolean
supportsGroupScan
(GroupScan groupScan) Checks whether thisAnalyzeInfoProvider
supports specifiedGroupScan
type.boolean
supportsMetadataType
(MetadataType metadataType) Checks whether thisAnalyzeInfoProvider
supports 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:AnalyzeInfoProvider
Returns list of fields required for ANALYZE.- Specified by:
getProjectionFields
in interfaceAnalyzeInfoProvider
- Overrides:
getProjectionFields
in 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:AnalyzeInfoProvider
Checks whether thisAnalyzeInfoProvider
supports specifiedGroupScan
type.- Parameters:
groupScan
- group scan- Returns:
true
if thisAnalyzeInfoProvider
supports specifiedGroupScan
type
-
getTableTypeName
Description copied from interface:AnalyzeInfoProvider
Returns table type name supported by thisAnalyzeInfoProvider
.- Returns:
- table type name
-
supportsMetadataType
Description copied from interface:AnalyzeInfoProvider
Checks whether thisAnalyzeInfoProvider
supports specifiedMetadataType
.- Parameters:
metadataType
- metadata type- Returns:
true
if thisAnalyzeInfoProvider
supports specifiedMetadataType
-