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 |
---|---|
void |
visit(Feature feature)
Visit the provided feature.
|
void |
visit(SimpleFeature feature) |
getExpression, getExpressions, getResult, getSum, init, reset, setStrategy, setValue
public SumAreaVisitor(Expression expr) throws IllegalFilterException
IllegalFilterException
public SumAreaVisitor(int attributeTypeIndex, SimpleFeatureType type) throws IllegalFilterException
IllegalFilterException
public SumAreaVisitor(String attrName, SimpleFeatureType type) throws IllegalFilterException
IllegalFilterException
public void visit(SimpleFeature feature)
visit
in class SumVisitor
public void visit(Feature feature)
FeatureVisitor
Please consult the documentation for the FeatureCollection you are visiting to learn more - the provided feature may be invalid, or read only.
visit
in interface FeatureVisitor
visit
in class SumVisitor
Copyright © 1996–2019 Geotools. All rights reserved.