Package org.geotools.feature.visitor
Interface FeatureAttributeVisitor
-
- All Superinterfaces:
FeatureVisitor
- All Known Implementing Classes:
AverageVisitor,GroupByVisitor,MaxVisitor,MedianVisitor,MinVisitor,NearestVisitor,StandardDeviationVisitor,SumAreaVisitor,SumVisitor,UniqueCountVisitor,UniqueVisitor
public interface FeatureAttributeVisitor extends FeatureVisitor
Extension of FeatureVisitor for visitors that require access to properties of the feature collection being visited.- Author:
- Justin Deoliveira, OpenGeo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<Expression>getExpressions()List of expressions used by visitor.default Optional<List<Class>>getResultType(List<Class> inputTypes)Returns the expected output type given the input type.-
Methods inherited from interface FeatureVisitor
visit
-
-
-
-
Method Detail
-
getExpressions
List<Expression> getExpressions()
List of expressions used by visitor.
-
getResultType
default Optional<List<Class>> getResultType(List<Class> inputTypes)
Returns the expected output type given the input type.- Parameters:
inputTypes- The type of the input expressions- Throws:
IllegalArgumentException- If the list of input types is not a match for thegetExpressions()result or is not acceptable for this visito
-
-