Class SegmentAnalysis
java.lang.Object
org.apache.druid.query.metadata.metadata.SegmentAnalysis
- All Implemented Interfaces:
Comparable<SegmentAnalysis>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSegmentAnalysis(String id, List<org.joda.time.Interval> interval, LinkedHashMap<String, ColumnAnalysis> columns, long size, long numRows, Map<String, AggregatorFactory> aggregators, Map<String, AggregateProjectionMetadata> projections, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SegmentAnalysis rhs) booleanBest-effort equals method; relies on AggregatorFactory.equals, which is not guaranteed to be sanely implemented.getId()List<org.joda.time.Interval> longlonggetSize()inthashCode()Best-effort hashCode method; relies on AggregatorFactory.hashCode, which is not guaranteed to be sanely implemented.isRollup()toString()
-
Constructor Details
-
SegmentAnalysis
public SegmentAnalysis(String id, List<org.joda.time.Interval> interval, LinkedHashMap<String, ColumnAnalysis> columns, long size, long numRows, Map<String, AggregatorFactory> aggregators, Map<String, AggregateProjectionMetadata> projections, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup)
-
-
Method Details
-
getId
-
getIntervals
-
getColumns
-
getSize
public long getSize() -
getNumRows
public long getNumRows() -
getTimestampSpec
-
getQueryGranularity
-
isRollup
-
getAggregators
-
getProjections
-
toString
-
equals
Best-effort equals method; relies on AggregatorFactory.equals, which is not guaranteed to be sanely implemented. -
hashCode
public int hashCode()Best-effort hashCode method; relies on AggregatorFactory.hashCode, which is not guaranteed to be sanely implemented. -
compareTo
- Specified by:
compareToin interfaceComparable<SegmentAnalysis>
-