Package org.alfresco.service.cmr.search
Class StatsProcessorUsingMap
java.lang.Object
org.alfresco.service.cmr.search.StatsProcessorUsingMap
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionprocess
(StatsResultSet input) void
setMapping
(Map<String, String> mapping)
-
Constructor Details
-
StatsProcessorUsingMap
public StatsProcessorUsingMap() -
StatsProcessorUsingMap
-
-
Method Details
-
process
- Specified by:
process
in interfaceStatsProcessor
-
setMapping
-