public class SegmentAnalysis extends Object implements Comparable<SegmentAnalysis>
Constructor and Description |
---|
SegmentAnalysis(String id,
List<org.joda.time.Interval> interval,
Map<String,ColumnAnalysis> columns,
long size,
long numRows,
Map<String,AggregatorFactory> aggregators,
TimestampSpec timestampSpec,
Granularity queryGranularity,
Boolean rollup) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SegmentAnalysis rhs) |
boolean |
equals(Object o)
Best-effort equals method; relies on AggregatorFactory.equals, which is not guaranteed to be sanely implemented.
|
Map<String,AggregatorFactory> |
getAggregators() |
Map<String,ColumnAnalysis> |
getColumns() |
String |
getId() |
List<org.joda.time.Interval> |
getIntervals() |
long |
getNumRows() |
Granularity |
getQueryGranularity() |
long |
getSize() |
TimestampSpec |
getTimestampSpec() |
int |
hashCode()
Best-effort hashCode method; relies on AggregatorFactory.hashCode, which is not guaranteed to be sanely
implemented.
|
Boolean |
isRollup() |
String |
toString() |
public SegmentAnalysis(String id, List<org.joda.time.Interval> interval, Map<String,ColumnAnalysis> columns, long size, long numRows, Map<String,AggregatorFactory> aggregators, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup)
public String getId()
public List<org.joda.time.Interval> getIntervals()
public Map<String,ColumnAnalysis> getColumns()
public long getSize()
public long getNumRows()
public TimestampSpec getTimestampSpec()
public Granularity getQueryGranularity()
public Boolean isRollup()
public Map<String,AggregatorFactory> getAggregators()
public boolean equals(Object o)
public int hashCode()
public int compareTo(SegmentAnalysis rhs)
compareTo
in interface Comparable<SegmentAnalysis>
Copyright © 2011–2018. All rights reserved.