Package org.alfresco.service.cmr.search
Class StatsProcessorUsingMap
- java.lang.Object
-
- org.alfresco.service.cmr.search.StatsProcessorUsingMap
-
- All Implemented Interfaces:
StatsProcessor
public class StatsProcessorUsingMap extends Object implements StatsProcessor
Post-Processors the results of a Stats query using a Map of values. Looks up the value by Map.key and replaces it with Map.value If its not found then returns the existing value.- Since:
- 5.0
- Author:
- Gethin James
-
-
Constructor Summary
Constructors Constructor Description StatsProcessorUsingMap()
StatsProcessorUsingMap(Map<String,String> mapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsResultSet
process(StatsResultSet input)
void
setMapping(Map<String,String> mapping)
-
-
-
Method Detail
-
process
public StatsResultSet process(StatsResultSet input)
- Specified by:
process
in interfaceStatsProcessor
-
-