Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2686

Enhance Mapper API with lazy loaded value

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.2.0.Beta6
    • Clustered Executor
    • None

      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

            Unassigned Unassigned
            tfromm_jira Thomas Fromm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: