org.apache.pig
Class ResourceStatistics.ResourceFieldStatistics

java.lang.Object
  extended by org.apache.pig.ResourceStatistics.ResourceFieldStatistics
All Implemented Interfaces:
Serializable
Enclosing class:
ResourceStatistics

public static class ResourceStatistics.ResourceFieldStatistics
extends Object
implements Serializable

Statistics for a given field in the data.

See Also:
Serialized Form

Constructor Summary
ResourceStatistics.ResourceFieldStatistics()
           
 
Method Summary
 boolean equals(Object anOther)
           
 Object[] getMostCommonValues()
           
 float[] getMostCommonValuesFreq()
           
 Long getNumDistinctValues()
           
 Object[] getValueHistogram()
           
 int getVersion()
           
 int hashCode()
          A naive hashCode implementation following the example in IBM's developerworks: http://www.ibm.com/developerworks/java/library/j-jtp05273.html
 ResourceStatistics.ResourceFieldStatistics setMostCommonValues(Object[] mostCommonValues)
           
 ResourceStatistics.ResourceFieldStatistics setMostCommonValuesFreq(float[] mostCommonValuesFreq)
           
 ResourceStatistics.ResourceFieldStatistics setNumDistinctValues(Long numDistinctValues)
           
 ResourceStatistics.ResourceFieldStatistics setValueHistogram(Object[] valueHistogram)
           
 ResourceStatistics.ResourceFieldStatistics setVersion(int version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceStatistics.ResourceFieldStatistics

public ResourceStatistics.ResourceFieldStatistics()
Method Detail

getVersion

public int getVersion()

setVersion

public ResourceStatistics.ResourceFieldStatistics setVersion(int version)

getNumDistinctValues

public Long getNumDistinctValues()

setNumDistinctValues

public ResourceStatistics.ResourceFieldStatistics setNumDistinctValues(Long numDistinctValues)

getMostCommonValues

public Object[] getMostCommonValues()

setMostCommonValues

public ResourceStatistics.ResourceFieldStatistics setMostCommonValues(Object[] mostCommonValues)

getMostCommonValuesFreq

public float[] getMostCommonValuesFreq()

setMostCommonValuesFreq

public ResourceStatistics.ResourceFieldStatistics setMostCommonValuesFreq(float[] mostCommonValuesFreq)

getValueHistogram

public Object[] getValueHistogram()

setValueHistogram

public ResourceStatistics.ResourceFieldStatistics setValueHistogram(Object[] valueHistogram)

equals

public boolean equals(Object anOther)
Overrides:
equals in class Object

hashCode

public int hashCode()
A naive hashCode implementation following the example in IBM's developerworks: http://www.ibm.com/developerworks/java/library/j-jtp05273.html

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 The Apache Software Foundation