public class FieldMetrics<T>
extends java.lang.Object
Constructor and Description |
---|
FieldMetrics(int id,
long valueCount,
long nullValueCount,
long nanValueCount,
T lowerBound,
T upperBound) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasBounds()
Returns if the metrics has bounds (i.e.
|
int |
id()
Returns the id of the field that the metrics within this class are associated with.
|
T |
lowerBound()
Returns the lower bound value of this field.
|
long |
nanValueCount()
Returns the number of NaN values for this field.
|
long |
nullValueCount()
Returns the number of null values for this field.
|
T |
upperBound()
Returns the upper bound value of this field.
|
long |
valueCount()
Returns the number of all values, including nulls, NaN and repeated, for the given field.
|
public int id()
public long valueCount()
public long nullValueCount()
public long nanValueCount()
public T lowerBound()
public T upperBound()
public boolean hasBounds()