Package org.geotools.process.vector
Class AggregateProcess
- Object
- 
- AggregateProcess
 
- 
- All Implemented Interfaces:
- VectorProcess
 
 public class AggregateProcess extends Object implements VectorProcess Computes various attribute statistics over vector data sets.- Author:
- Andrea Aime
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAggregateProcess.AggregateResultsConverterFactoryConverter factory that convertsAggregateProcess.ResultstoFeatureCollection.static classAggregateProcess.AggregationFunctionstatic classAggregateProcess.ResultsThe aggregate function results
 - 
Constructor SummaryConstructors Constructor Description AggregateProcess()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
processpublic static AggregateProcess.Results process(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, Boolean singlePass, ProgressListener progressListener) throws ProcessException, IOException Computes various attribute statistics over vector data sets- Parameters:
- features- FeatureCollection to aggregate
- aggAttribute- target attribute
- Returns:
- aggregate Results
- Throws:
- ProcessException
- IOException
 
 - 
processpublic static AggregateProcess.Results process(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, List<String> groupByAttributes, Boolean singlePass, ProgressListener progressListener) throws ProcessException, IOException - Throws:
- ProcessException
- IOException
 
 - 
executepublic AggregateProcess.Results execute(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, boolean singlePass, ProgressListener progressListener) throws ProcessException, IOException - Throws:
- ProcessException
- IOException
 
 - 
executepublic AggregateProcess.Results execute(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, boolean singlePass, List<String> groupByAttributes, ProgressListener progressListener) throws ProcessException, IOException - Throws:
- ProcessException
- IOException
 
 
- 
 
-