public class RawNumericMetric extends Object implements NumericMetric
| Constructor and Description |
|---|
RawNumericMetric() |
RawNumericMetric(int scheduleId,
long timestamp,
double value) |
RawNumericMetric(int scheduleId,
long timestamp,
double value,
ColumnMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Double |
getAvg() |
ColumnMetadata |
getColumnMetadata() |
Double |
getMax() |
Double |
getMin() |
int |
getScheduleId() |
long |
getTimestamp() |
Double |
getValue() |
int |
hashCode() |
void |
setColumnMetadata(ColumnMetadata columnMetadata) |
void |
setScheduleId(int scheduleId) |
void |
setTimestamp(long timestamp) |
void |
setValue(Double value) |
String |
toString() |
public RawNumericMetric()
public RawNumericMetric(int scheduleId,
long timestamp,
double value)
public RawNumericMetric(int scheduleId,
long timestamp,
double value,
ColumnMetadata metadata)
public int getScheduleId()
getScheduleId in interface NumericMetricpublic void setScheduleId(int scheduleId)
public Double getValue()
public void setValue(Double value)
public long getTimestamp()
getTimestamp in interface NumericMetricpublic void setTimestamp(long timestamp)
public Double getMin()
getMin in interface NumericMetricpublic Double getMax()
getMax in interface NumericMetricpublic Double getAvg()
getAvg in interface NumericMetricpublic ColumnMetadata getColumnMetadata()
public void setColumnMetadata(ColumnMetadata columnMetadata)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.