Package org.alfresco.search.model
Class RequestStats
java.lang.Object
org.alfresco.search.model.RequestStats
A list of stats request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludeFiltersItem(String excludeFiltersItem) addPercentilesItem(Float percentilesItem) cardinality(Boolean cardinality) cardinalityAccuracy(Float cardinalityAccuracy) countDistinct(Boolean countDistinct) countValues(Boolean countValues) distinctValues(Boolean distinctValues) booleanexcludeFilters(List<String> excludeFilters) Number between 0.0 and 1.0 indicating how aggressively the algorithm should try to be accurate.A list of filters to excludegetField()The stats fieldgetLabel()A label to include for reference the stats fieldA list of percentile values, e.g. \"1,99,99.9\"inthashCode()A statistical approximation of the number of distinct valuesThe number of distinct values (This can be very expensive to calculate)The number which have a value for this fieldThe set of all distinct values for the field (This can be very expensive to calculate)isMax()The maximum value of the fieldisMean()The averageisMin()The minimum value of the fieldThe number which do not have a value for this fieldisStddev()Standard deviationisSum()The sum of all values of the fieldSum of all values squaredpercentiles(List<Float> percentiles) voidsetCardinality(Boolean cardinality) voidsetCardinalityAccuracy(Float cardinalityAccuracy) voidsetCountDistinct(Boolean countDistinct) voidsetCountValues(Boolean countValues) voidsetDistinctValues(Boolean distinctValues) voidsetExcludeFilters(List<String> excludeFilters) voidvoidvoidvoidvoidvoidsetMissing(Boolean missing) voidsetPercentiles(List<Float> percentiles) voidvoidvoidsetSumOfSquares(Boolean sumOfSquares) sumOfSquares(Boolean sumOfSquares) toString()
-
Constructor Details
-
RequestStats
public RequestStats()
-
-
Method Details
-
field
-
getField
The stats field- Returns:
- field
-
setField
-
label
-
getLabel
A label to include for reference the stats field- Returns:
- label
-
setLabel
-
min
-
isMin
The minimum value of the field- Returns:
- min
-
setMin
-
max
-
isMax
The maximum value of the field- Returns:
- max
-
setMax
-
sum
-
isSum
The sum of all values of the field- Returns:
- sum
-
setSum
-
countValues
-
isCountValues
The number which have a value for this field- Returns:
- countValues
-
setCountValues
-
missing
-
isMissing
The number which do not have a value for this field- Returns:
- missing
-
setMissing
-
mean
-
isMean
The average- Returns:
- mean
-
setMean
-
stddev
-
isStddev
Standard deviation- Returns:
- stddev
-
setStddev
-
sumOfSquares
-
isSumOfSquares
Sum of all values squared- Returns:
- sumOfSquares
-
setSumOfSquares
-
distinctValues
-
isDistinctValues
The set of all distinct values for the field (This can be very expensive to calculate)- Returns:
- distinctValues
-
setDistinctValues
-
countDistinct
-
isCountDistinct
The number of distinct values (This can be very expensive to calculate)- Returns:
- countDistinct
-
setCountDistinct
-
cardinality
-
isCardinality
A statistical approximation of the number of distinct values- Returns:
- cardinality
-
setCardinality
-
cardinalityAccuracy
-
getCardinalityAccuracy
Number between 0.0 and 1.0 indicating how aggressively the algorithm should try to be accurate. Used with boolean cardinality flag.- Returns:
- cardinalityAccuracy
-
setCardinalityAccuracy
-
excludeFilters
-
addExcludeFiltersItem
-
getExcludeFilters
A list of filters to exclude- Returns:
- excludeFilters
-
setExcludeFilters
-
percentiles
-
addPercentilesItem
-
getPercentiles
A list of percentile values, e.g. \"1,99,99.9\"- Returns:
- percentiles
-
setPercentiles
-
equals
-
hashCode
public int hashCode() -
toString
-