## Uses of Interface
com.hazelcast.mapreduce.Context

- Packages that use Context
  Package | Description
  --- | ---
  com.hazelcast.mapreduce | This package contains the MapReduce API definition for Hazelcast. All map reduce operations running in a distributed manner inside the active Hazelcast cluster.

- - ### Uses of Context in com.hazelcast.mapreduce

    Methods in com.hazelcast.mapreduce with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `void` | LifecycleMapperAdapter.`finalized(Context<KeyOut,ValueOut> context)` Deprecated. This method is called after the `Mapper.map(Object, Object, Context)` method is executed for every value and can be used to finalize the internal state of the mapper or to emit a special value.
    `void` | LifecycleMapper.`finalized(Context<KeyOut,ValueOut> context)` Deprecated. This method is called after the `Mapper.map(Object, Object, Context)` method is executed for every value and can be used to finalize the internal state of the mapper or to emit a special value.
    `void` | LifecycleMapperAdapter.`initialize(Context<KeyOut,ValueOut> context)` Deprecated. This method is called before the `Mapper.map(Object, Object, Context)` method is executed for every value and can be used to initialize the internal state of the mapper or to emit a special value.
    `void` | LifecycleMapper.`initialize(Context<KeyOut,ValueOut> context)` Deprecated. This method is called before the `Mapper.map(Object, Object, Context)` method is executed for every value and can be used to initialize the internal state of the mapper or to emit a special value.
    `void` | Mapper.`map(KeyIn key, ValueIn value, Context<KeyOut,ValueOut> context)` Deprecated. The map method is called for every single key-value pair in the bound `KeyValueSource` instance on this cluster node and partition. Due to its nature of a DataGrid, Hazelcast distributes values all over the cluster and so this method is executed on multiple servers at the same time. If you want to know more about the implementation of MapReduce algorithms read the Google Whitepaper on MapReduce.
    `abstract void` | LifecycleMapperAdapter.`map(KeyIn key, ValueIn value, Context<KeyOut,ValueOut> context)` Deprecated. The map method is called for every single key-value pair in the bound `KeyValueSource` instance on this cluster node and partition. Due to its nature of a DataGrid, Hazelcast distributes values all over the cluster and so this method is executed on multiple servers at the same time. If you want to know more about the implementation of MapReduce algorithms read the Google Whitepaper on MapReduce.

Copyright © 2019. All rights reserved.