public class IntStatistics extends Statistics<Integer>
| Constructor and Description |
|---|
IntStatistics() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
genericGetMax() |
Integer |
genericGetMin() |
int |
getMax() |
byte[] |
getMaxBytes()
Abstract method to return the max value as a byte array
|
int |
getMin() |
byte[] |
getMinBytes()
Abstract method to return the min value as a byte array
|
void |
initializeStats(int min_value,
int max_value) |
void |
mergeStatisticsMinMax(Statistics stats)
Abstract method to merge this statistics min and max with the values
of the parameter object.
|
void |
setMinMax(int min,
int max) |
void |
setMinMaxFromBytes(byte[] minBytes,
byte[] maxBytes)
Abstract method to set min and max values from byte arrays.
|
String |
toString()
toString() to display min, max, num_nulls in a string
|
void |
updateStats(int value)
updates statistics min and max using the passed value
|
void |
updateStats(int min_value,
int max_value) |
equals, getNumNulls, getStatsBasedOnType, hashCode, hasNonNullValue, incrementNumNulls, incrementNumNulls, isEmpty, markAsNotEmpty, mergeStatistics, setNumNulls, updateStats, updateStats, updateStats, updateStats, updateStatspublic void updateStats(int value)
StatisticsupdateStats in class Statistics<Integer>value - value to use to update min and maxpublic void mergeStatisticsMinMax(Statistics stats)
StatisticsmergeStatisticsMinMax in class Statistics<Integer>stats - Statistics object to merge withpublic void setMinMaxFromBytes(byte[] minBytes,
byte[] maxBytes)
StatisticssetMinMaxFromBytes in class Statistics<Integer>minBytes - byte array to set the min value tomaxBytes - byte array to set the max value topublic byte[] getMaxBytes()
StatisticsgetMaxBytes in class Statistics<Integer>public byte[] getMinBytes()
StatisticsgetMinBytes in class Statistics<Integer>public String toString()
StatisticstoString in class Statistics<Integer>public void updateStats(int min_value,
int max_value)
public void initializeStats(int min_value,
int max_value)
public Integer genericGetMin()
genericGetMin in class Statistics<Integer>public Integer genericGetMax()
genericGetMax in class Statistics<Integer>public int getMax()
public int getMin()
public void setMinMax(int min,
int max)
Copyright © 2015 The Apache Software Foundation. All rights reserved.