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 Summary
Nested Classes Modifier and Type Class Description static classAggregateProcess.AggregateResultsConverterFactoryConverter factory that convertsAggregateProcess.ResultstoFeatureCollection.static classAggregateProcess.AggregationFunctionstatic classAggregateProcess.ResultsThe aggregate function results 
- 
Constructor Summary
Constructors Constructor Description AggregateProcess() 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
process
public 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 aggregateaggAttribute- target attribute- Returns:
 - aggregate Results
 - Throws:
 ProcessExceptionIOException
 
- 
process
public static AggregateProcess.Results process(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, List<String> groupByAttributes, Boolean singlePass, ProgressListener progressListener) throws ProcessException, IOException
- Throws:
 ProcessExceptionIOException
 
- 
execute
public AggregateProcess.Results execute(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, boolean singlePass, ProgressListener progressListener) throws ProcessException, IOException
- Throws:
 ProcessExceptionIOException
 
- 
execute
public AggregateProcess.Results execute(SimpleFeatureCollection features, String aggAttribute, Set<AggregateProcess.AggregationFunction> functions, boolean singlePass, List<String> groupByAttributes, ProgressListener progressListener) throws ProcessException, IOException
- Throws:
 ProcessExceptionIOException
 
 - 
 
 -