T
- the numeric type e.g. Integer, Double@PublicEvolving public class NumericColumnSummary<T> extends ColumnSummary implements Serializable
Constructor and Description |
---|
NumericColumnSummary(long nonMissingCount,
long nullCount,
long nanCount,
long infinityCount,
T min,
T max,
T sum,
Double mean,
Double variance,
Double standardDeviation) |
Modifier and Type | Method and Description |
---|---|
long |
getInfinityCount()
Number of values that are positive or negative infinity.
|
T |
getMax() |
Double |
getMean()
Null, NaN, and Infinite values are ignored in this calculation.
|
T |
getMin() |
long |
getMissingCount()
The number of "missing" values where "missing" is defined as null, NaN, or Infinity.
|
long |
getNanCount()
Number of values that are NaN.
|
long |
getNonMissingCount()
The number of values that are not null, NaN, or Infinity.
|
long |
getNonNullCount()
The number of non-null values in this column
|
long |
getNullCount()
The number of null values in this column
|
Double |
getStandardDeviation()
Standard Deviation is a measure of variation in a set of numbers.
|
T |
getSum() |
Double |
getVariance()
Variance is a measure of how far a set of numbers are spread out.
|
String |
toString() |
containsNonNull, containsNull, getTotalCount
public long getMissingCount()
public long getNonMissingCount()
public long getNonNullCount()
getNonNullCount
in class ColumnSummary
public long getNullCount()
ColumnSummary
getNullCount
in class ColumnSummary
public long getNanCount()
public long getInfinityCount()
public T getMin()
public T getMax()
public T getSum()
public Double getMean()
public Double getVariance()
public Double getStandardDeviation()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.