[
https://issues.jboss.org/browse/ISPN-2686?page=com.atlassian.jira.plugin....
]
Vladimir Blagojevic commented on ISPN-2686:
-------------------------------------------
This requires API changes - use of a new mapper interface. I'd say lets leave it and
see if more people request something like this. I would rather not complicate things
further unless it is really necessary.
Enhance Mapper API with lazy loaded value
-----------------------------------------
Key: ISPN-2686
URL:
https://issues.jboss.org/browse/ISPN-2686
Project: Infinispan
Issue Type: Enhancement
Components: Distributed Execution and Map/Reduce
Affects Versions: 5.2.0.Beta6
Reporter: Thomas Fromm
Assignee: Vladimir Blagojevic
Priority: Minor
In situations where Map/Reduce is used and the value is not (always) needed at the
Mapper, the value could be loaded lazy, when the map(..) interface is slightly changed:
map(Entry<KIn, VIn> entry, Collector<Entry<KIn, VIn>> collector)
When entry.getValue() is called, the value should be loaded from store or maybe remote
node.
Maybe this change to Entry would be also useful for event api ISPN-1802
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira