public abstract class AbstractNumericInfo<T extends Number & Comparable<? super T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTR_IQR |
protected static String |
ATTR_MAX |
protected static String |
ATTR_MEAN |
protected static String |
ATTR_MEDIAN |
protected static String |
ATTR_MIN |
protected static String |
ATTR_STANDARD_DEVIATION |
protected static String |
ATTR_SUM |
protected static String |
ATTR_VARIANCE |
protected static String |
ELEM_NUMERIC_INFO |
protected T |
interQuartileRange |
protected T |
max |
protected T |
mean |
protected T |
median |
protected T |
min |
protected List<Quantile<T>> |
quantiles |
protected T |
stddev |
protected T |
sum |
protected T |
variance |
Constructor and Description |
---|
AbstractNumericInfo() |
Modifier and Type | Method and Description |
---|---|
T |
getInterQuartileRange()
Returns the inter-quartile-range of this field.
|
T |
getMax()
Return the maximum value for this field.
|
T |
getMean()
Returns the mean value for this field.
|
T |
getMedian()
Returns the median of values for this field.
|
T |
getMin()
Return the minimum value for this field.
|
Class<?> |
getNumericType()
Gets the generic type of this class.
|
List<Quantile<T>> |
getQuantiles()
Returns the quantiles of this field.
|
T |
getStddev()
Return the standard deviation of values for this field.
|
T |
getSum()
Return the summation of values for this field.
|
T |
getVariance()
Return the variance of values for this field.
|
void |
setInterQuartileRange(T interQuartileRange)
Sets the inter-quartile-range of this field.
|
void |
setMax(T max)
Sets the maximum value for this field.
|
void |
setMean(T mean)
Sets the mean value for this field.
|
void |
setMedian(T median)
Sets the median of values for this field.
|
void |
setMin(T min)
Sets the minimum value for this field.
|
void |
setQuantiles(List<Quantile<T>> quantiles)
Sets the quantiles of this field.
|
void |
setStddev(T stddev)
Sets the standard deviation of values for this field.
|
void |
setSum(T sum)
Sets the summation of values for this field.
|
void |
setVariance(T variance)
Sets the variance of values for this field.
|
String |
toString() |
protected static final String ELEM_NUMERIC_INFO
protected static final String ATTR_MIN
protected static final String ATTR_MAX
protected static final String ATTR_MEAN
protected static final String ATTR_STANDARD_DEVIATION
protected static final String ATTR_MEDIAN
protected static final String ATTR_IQR
protected static final String ATTR_VARIANCE
protected static final String ATTR_SUM
protected T extends Number & Comparable<? super T> min
protected T extends Number & Comparable<? super T> max
protected T extends Number & Comparable<? super T> mean
protected T extends Number & Comparable<? super T> stddev
protected T extends Number & Comparable<? super T> variance
protected T extends Number & Comparable<? super T> sum
protected T extends Number & Comparable<? super T> median
protected T extends Number & Comparable<? super T> interQuartileRange
public T getMin()
public void setMin(T min)
min
- the minimum valuepublic T getMax()
public void setMax(T max)
max
- the maximum valuepublic T getMean()
public void setMean(T mean)
mean
- the mean value for this fieldpublic T getStddev()
public void setStddev(T stddev)
stddev
- the standard deviation of values for this fieldpublic T getMedian()
public void setMedian(T median)
median
- the median of values for this fieldpublic T getInterQuartileRange()
public void setInterQuartileRange(T interQuartileRange)
interQuartileRange
- the inter-quartile-range for this fieldpublic T getVariance()
public void setVariance(T variance)
variance
- the variance of values for this fieldpublic T getSum()
public void setSum(T sum)
sum
- the summation of values for this fieldpublic List<Quantile<T>> getQuantiles()
Quantile
sub-element.public void setQuantiles(List<Quantile<T>> quantiles)
Quantile
sub-element.quantiles
- the quantiles of this fieldpublic Class<?> getNumericType()
Copyright © 2019 Actian Corporation. All rights reserved.