public class Metric extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
Metric() |
Metric(long value) |
Metric(long min,
long max,
long sum,
long count,
BigInteger sumSquare) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCount() |
long |
getMax() |
double |
getMean()
The mean/average of the values encountered for the time range
|
long |
getMin() |
double |
getStdDev()
The population standard deviation
|
long |
getSum() |
BigInteger |
getSumSquare() |
double |
getVariance()
The population variance for the values encountered for the time range
|
int |
hashCode() |
void |
readFields(DataInput dataInput) |
String |
toString() |
void |
write(DataOutput dataOutput) |
public Metric()
public Metric(long value)
public Metric(long min,
long max,
long sum,
long count,
BigInteger sumSquare)
public long getMin()
public long getMax()
public long getSum()
public long getCount()
public BigInteger getSumSquare()
public double getMean()
public double getVariance()
public double getStdDev()
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2014 Calrissian. All Rights Reserved.