Package org.geotools.filter.function
Class QuantileFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
Breaks a SimpleFeatureCollection into classes with an equal number of items in each.
- Author:
- Cory Horner, Refractions Research Inc.
-
Field Summary
FieldsFields inherited from class ClassificationFunction
LOGGERFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QuantileListVisitorReturns the list visitor for the specific implementation of "quantity" (e.g., count, area, ...).protected booleanMethods inherited from class AbstractQuantityClassificationFunction
evaluateMethods inherited from class ClassificationFunction
accept, computeGroupByPercentages, computePercentage, decimalPlaces, fixRound, getClasses, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, getProgressListener, round, setClasses, setFallbackValue, setParameters, setProgressListener, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
QuantileFunction
public QuantileFunction()
-
-
Method Details
-
getListVisitor
Description copied from class:AbstractQuantityClassificationFunctionReturns the list visitor for the specific implementation of "quantity" (e.g., count, area, ...). The visitor must return a "bins" structure matching {code}List[]{code}, where each array entry is a bin, and values inside the bin are sorted from lowest to highest - Specified by:
getListVisitorin classAbstractQuantityClassificationFunction
-
percentages
protected boolean percentages()- Specified by:
percentagesin classAbstractQuantityClassificationFunction- Returns:
- true if percentages computation is enabled, false if not
-