Package org.apache.druid.query.metadata
Class SegmentAnalyzer
- java.lang.Object
-
- org.apache.druid.query.metadata.SegmentAnalyzer
-
public class SegmentAnalyzer extends Object
-
-
Constructor Summary
Constructors Constructor Description SegmentAnalyzer(EnumSet<SegmentMetadataQuery.AnalysisType> analysisTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ColumnAnalysis>
analyze(Segment segment)
boolean
analyzingCardinality()
boolean
analyzingMinMax()
boolean
analyzingSize()
long
numRows(Segment segment)
-
-
-
Constructor Detail
-
SegmentAnalyzer
public SegmentAnalyzer(EnumSet<SegmentMetadataQuery.AnalysisType> analysisTypes)
-
-
Method Detail
-
numRows
public long numRows(Segment segment)
-
analyze
public Map<String,ColumnAnalysis> analyze(Segment segment)
-
analyzingSize
public boolean analyzingSize()
-
analyzingCardinality
public boolean analyzingCardinality()
-
analyzingMinMax
public boolean analyzingMinMax()
-
-