Class ReducerAggregator<K,​V,​T,​E>

    • Field Detail

      • m_map

        protected transient Map<K,​E> m_map
        The resulting map of reduced values.
    • Constructor Detail

      • ReducerAggregator

        public ReducerAggregator()
        Default constructor (necessary for the ExternalizableLite interface).
      • ReducerAggregator

        public ReducerAggregator​(String sMethod)
        Construct a ReducerAggregator based on the specified method name.
        Parameters:
        sMethod - the name of the method that is used to extract the portion of the cached value
      • ReducerAggregator

        public ReducerAggregator​(ValueExtractor<? super T,​? extends E> extractor)
        Construct a ReducerAggregator based on the specified extractor.
        Parameters:
        extractor - the extractor that is used to extract the portion of the cached value