Class LongStatsLowQuantileImpl
- java.lang.Object
-
- com.linkedin.alpini.base.statistics.LongStatsLowQuantileImpl
-
- All Implemented Interfaces:
LongStatsLowQuantile
,org.apache.logging.log4j.util.StringBuilderFormattable
public class LongStatsLowQuantileImpl extends java.lang.Object implements LongStatsLowQuantile, org.apache.logging.log4j.util.StringBuilderFormattable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
formatTo(java.lang.StringBuilder buffer)
java.lang.Long
get01Pct()
Returns the 0.1th percentile value.java.lang.Long
get10Pct()
Returns the 10th percentile value.java.lang.Long
get1Pct()
Returns the 1th percentile value.java.lang.Long
get50Pct()
Returns the 50th percentile value.java.lang.Long
get5Pct()
Returns the 5th percentile value.double
getAverage()
Returns the average.long
getLongCount()
java.lang.Long
getMaximum()
Returns the maximum value.java.lang.Long
getMinimum()
Returns the minimum.double
getStandardDeviation()
Returns the standard deviation.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.linkedin.alpini.base.statistics.LongStatsLowQuantile
getCount
-
-
-
-
Method Detail
-
getLongCount
public long getLongCount()
- Specified by:
getLongCount
in interfaceLongStatsLowQuantile
-
getAverage
public double getAverage()
Description copied from interface:LongStatsLowQuantile
Returns the average.- Specified by:
getAverage
in interfaceLongStatsLowQuantile
- Returns:
- the average or
NaN
if there is no data.
-
getStandardDeviation
public double getStandardDeviation()
Description copied from interface:LongStatsLowQuantile
Returns the standard deviation.- Specified by:
getStandardDeviation
in interfaceLongStatsLowQuantile
- Returns:
- the standard deviation or
NaN
if there is no data.
-
getMinimum
public java.lang.Long getMinimum()
Description copied from interface:LongStatsLowQuantile
Returns the minimum.- Specified by:
getMinimum
in interfaceLongStatsLowQuantile
- Returns:
- the minimum or
null
if there is no data.
-
getMaximum
public java.lang.Long getMaximum()
Description copied from interface:LongStatsLowQuantile
Returns the maximum value.- Specified by:
getMaximum
in interfaceLongStatsLowQuantile
- Returns:
- the maximum value or
null
if there is no data.
-
get50Pct
public java.lang.Long get50Pct()
Description copied from interface:LongStatsLowQuantile
Returns the 50th percentile value.- Specified by:
get50Pct
in interfaceLongStatsLowQuantile
- Returns:
- the 50th percentile value or
null
if there is no data.
-
get01Pct
public java.lang.Long get01Pct()
Description copied from interface:LongStatsLowQuantile
Returns the 0.1th percentile value.- Specified by:
get01Pct
in interfaceLongStatsLowQuantile
- Returns:
- the 0.1th percentile value or
null
if there is no data.
-
get1Pct
public java.lang.Long get1Pct()
Description copied from interface:LongStatsLowQuantile
Returns the 1th percentile value.- Specified by:
get1Pct
in interfaceLongStatsLowQuantile
- Returns:
- the 1th percentile value or
null
if there is no data.
-
get5Pct
public java.lang.Long get5Pct()
Description copied from interface:LongStatsLowQuantile
Returns the 5th percentile value.- Specified by:
get5Pct
in interfaceLongStatsLowQuantile
- Returns:
- the 5th percentile value or
null
if there is no data.
-
get10Pct
public java.lang.Long get10Pct()
Description copied from interface:LongStatsLowQuantile
Returns the 10th percentile value.- Specified by:
get10Pct
in interfaceLongStatsLowQuantile
- Returns:
- the 10th percentile value or
null
if there is no data.
-
formatTo
public void formatTo(java.lang.StringBuilder buffer)
- Specified by:
formatTo
in interfaceorg.apache.logging.log4j.util.StringBuilderFormattable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-