public class SumAreaVisitor extends SumVisitor
SumVisitor.SumResult, SumVisitor.SumStrategy| Constructor and Description |
|---|
SumAreaVisitor(Expression expr) |
SumAreaVisitor(int attributeTypeIndex,
SimpleFeatureType type) |
SumAreaVisitor(String attrName,
SimpleFeatureType type) |
| Modifier and Type | Method and Description |
|---|---|
Optional<List<Class>> |
getResultType(List<Class> inputTypes)
Returns the expected output type given the input type.
|
void |
visit(Feature feature)
Visit the provided feature.
|
void |
visit(SimpleFeature feature) |
getExpression, getExpressions, getResult, getSum, init, reset, setStrategy, setValuepublic SumAreaVisitor(Expression expr) throws IllegalFilterException
IllegalFilterExceptionpublic SumAreaVisitor(int attributeTypeIndex,
SimpleFeatureType type)
throws IllegalFilterException
IllegalFilterExceptionpublic SumAreaVisitor(String attrName, SimpleFeatureType type) throws IllegalFilterException
IllegalFilterExceptionpublic void visit(SimpleFeature feature)
visit in class SumVisitorpublic void visit(Feature feature)
FeatureVisitorPlease consult the documentation for the FeatureCollection you are visiting to learn more - the provided feature may be invalid, or read only.
visit in interface FeatureVisitorvisit in class SumVisitorpublic Optional<List<Class>> getResultType(List<Class> inputTypes)
FeatureAttributeVisitorgetResultType in interface FeatureAttributeVisitorgetResultType in class SumVisitorinputTypes - The type of the input expressionsCopyright © 1996–2021 Geotools. All rights reserved.