public static class ResourceStatistics.ResourceFieldStatistics
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ResourceFieldStatistics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object anOther) |
java.lang.Object[] |
getMostCommonValues() |
float[] |
getMostCommonValuesFreq() |
java.lang.Long |
getNumDistinctValues() |
java.lang.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(java.lang.Object[] mostCommonValues) |
ResourceStatistics.ResourceFieldStatistics |
setMostCommonValuesFreq(float[] mostCommonValuesFreq) |
ResourceStatistics.ResourceFieldStatistics |
setNumDistinctValues(java.lang.Long numDistinctValues) |
ResourceStatistics.ResourceFieldStatistics |
setValueHistogram(java.lang.Object[] valueHistogram) |
ResourceStatistics.ResourceFieldStatistics |
setVersion(int version) |
java.lang.String |
toString() |
public int getVersion()
public ResourceStatistics.ResourceFieldStatistics setVersion(int version)
public java.lang.Long getNumDistinctValues()
public ResourceStatistics.ResourceFieldStatistics setNumDistinctValues(java.lang.Long numDistinctValues)
public java.lang.Object[] getMostCommonValues()
public ResourceStatistics.ResourceFieldStatistics setMostCommonValues(java.lang.Object[] mostCommonValues)
public float[] getMostCommonValuesFreq()
public ResourceStatistics.ResourceFieldStatistics setMostCommonValuesFreq(float[] mostCommonValuesFreq)
public java.lang.Object[] getValueHistogram()
public ResourceStatistics.ResourceFieldStatistics setValueHistogram(java.lang.Object[] valueHistogram)
public boolean equals(java.lang.Object anOther)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2017 The Apache Software Foundation