## Uses of Interface
org.apache.ignite.lang.IgniteReducer

Packages that use IgniteReducer
Package | Description
--- | ---
org.apache.ignite | Contains entry-point Ignite & HPC APIs.
org.apache.ignite.internal | Contains main implementation.
org.apache.ignite.internal.processors.cache |
org.apache.ignite.internal.processors.cache.query |
org.apache.ignite.internal.processors.closure | TODO.
org.apache.ignite.internal.util.future | Future related classes.
org.apache.ignite.internal.util.lang |
org.apache.ignite.internal.util.typedef | Contains typedefs definitions for frequently used classes.

### Uses of IgniteReducer in org.apache.ignite

Methods in org.apache.ignite with parameters of type IgniteReducer
Modifier and Type | Method and Description
--- | ---
`<R1,R2,T> R2` | IgniteCompute.`apply(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc)` Executes provided closure job on nodes within the underlying cluster group.
`<R1,R2> R2` | IgniteCompute.`call(Collection<? extends IgniteCallable<R1>> jobs, IgniteReducer<R1,R2> rdc)` Executes collection of jobs on nodes within the underlying cluster group.

### Uses of IgniteReducer in org.apache.ignite.internal

Methods in org.apache.ignite.internal with parameters of type IgniteReducer
Modifier and Type | Method and Description
--- | ---
`<R1,R2,T> R2` | IgniteComputeImpl.`apply(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc)` Executes provided closure job on nodes within the underlying cluster group.
`<R1,R2> R2` | IgniteComputeImpl.`call(Collection<? extends IgniteCallable<R1>> jobs, IgniteReducer<R1,R2> rdc)` Executes collection of jobs on nodes within the underlying cluster group.

### Uses of IgniteReducer in org.apache.ignite.internal.processors.cache

Methods in org.apache.ignite.internal.processors.cache that return IgniteReducer
Modifier and Type | Method and Description
--- | ---
`static IgniteReducer<Boolean,Boolean>` | GridCacheUtils.`boolReducer()`
`static <T> IgniteReducer<Collection<T>,Collection<T>>` | GridCacheUtils.`collectionsReducer(int size)` Gets reducer that aggregates collections.
`static <K,V> IgniteReducer<Map<K,V>,Map<K,V>>` | GridCacheUtils.`mapsReducer(int size)` Gets reducer that aggregates maps into one.
`static <T> IgniteReducer<T,Collection<T>>` | GridCacheUtils.`objectsReducer()` Gets reducer that aggregates items into collection.

### Uses of IgniteReducer in org.apache.ignite.internal.processors.cache.query

Methods in org.apache.ignite.internal.processors.cache.query that return IgniteReducer
Modifier and Type | Method and Description
--- | ---
`IgniteReducer<Object,Object>` | GridCacheQueryBean.`reducer()`
`IgniteReducer<Object,Object>` | GridCacheQueryRequest.`reducer()`

Methods in org.apache.ignite.internal.processors.cache.query with parameters of type IgniteReducer
Modifier and Type | Method and Description
--- | ---
`<R> CacheQueryFuture<R>` | CacheQuery.`execute(IgniteReducer<T,R> rmtReducer, Object... args)` Executes the query the same way as `CacheQuery.execute(Object...)` method but reduces result remotely.
`<R> CacheQueryFuture<R>` | GridCacheQueryAdapter.`execute(IgniteReducer<T,R> rmtReducer, Object... args)` Executes the query the same way as `CacheQuery.execute(Object...)` method but reduces result remotely.

Constructors in org.apache.ignite.internal.processors.cache.query with parameters of type IgniteReducer
Constructor and Description
`GridCacheQueryBean(GridCacheQueryAdapter<?> qry, IgniteReducer<Object,Object> rdc, IgniteClosure<Object,Object> trans, Object[] args)`

`GridCacheQueryRequest(int cacheId, long id, String cacheName, GridCacheQueryType type, boolean fields, String clause, String clsName, IgniteBiPredicate<Object,Object> keyValFilter, Integer part, IgniteReducer<Object,Object> rdc, IgniteClosure<Object,Object> trans, int pageSize, boolean incBackups, Object[] args, boolean incMeta, boolean keepBinary, UUID subjId, int taskHash, AffinityTopologyVersion topVer, boolean addDepInfo)`

### Uses of IgniteReducer in org.apache.ignite.internal.processors.closure

Methods in org.apache.ignite.internal.processors.closure with parameters of type IgniteReducer
Modifier and Type | Method and Description
--- | ---
`<T,R1,R2> ComputeTaskInternalFuture<R2>` | GridClosureProcessor.`callAsync(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc, Collection<ClusterNode> nodes)`
`<R1,R2> ComputeTaskInternalFuture<R2>` | GridClosureProcessor.`forkjoinAsync(GridClosureCallMode mode, Collection<? extends Callable<R1>> jobs, IgniteReducer<R1,R2> rdc, Collection<ClusterNode> nodes)`

### Uses of IgniteReducer in org.apache.ignite.internal.util.future

Constructors in org.apache.ignite.internal.util.future with parameters of type IgniteReducer
Constructor and Description
`GridCompoundFuture(IgniteReducer<T,R> rdc)`
`GridCompoundIdentityFuture(IgniteReducer<T,T> rdc)`

### Uses of IgniteReducer in org.apache.ignite.internal.util.lang

Classes in org.apache.ignite.internal.util.lang that implement IgniteReducer
Modifier and Type | Class and Description
--- | ---
`class` | `IgniteReducerX<E1,R>` Convenient reducer subclass that allows for thrown grid exception.

Methods in org.apache.ignite.internal.util.lang that return IgniteReducer
Modifier and Type | Method and Description
--- | ---
`static IgniteReducer<String,String>` | GridFunc.`concatReducer(String delim)` Deprecated.
`static <T> IgniteReducer<T,T>` | GridFunc.`identityReducer(T elem)` Gets reducer which always returns `true` from `collect(Object)` method and passed in `element` from `reduce()` method.
`static IgniteReducer<Integer,Integer>` | GridFunc.`sumIntReducer()` Deprecated.
`static IgniteReducer<Long,Long>` | GridFunc.`sumLongReducer()` Deprecated.

Methods in org.apache.ignite.internal.util.lang with parameters of type IgniteReducer
Modifier and Type | Method and Description
--- | ---
`static <T,R> R` | GridFunc.`awaitAll(long timeout, IgniteReducer<T,R> rdc, Collection<IgniteInternalFuture<T>> futs)` Deprecated.
`static <X,Y> Y` | GridFunc.`reduce(Iterable<? extends X> c, IgniteReducer<? super X,Y> f)` Deprecated.

### Uses of IgniteReducer in org.apache.ignite.internal.util.typedef

Subinterfaces of IgniteReducer in org.apache.ignite.internal.util.typedef
Modifier and Type | Interface and Description
--- | ---
`interface` | `R1<E1,R>` Defines `alias` for `IgniteReducer` by extending it.

Classes in org.apache.ignite.internal.util.typedef that implement IgniteReducer
Modifier and Type | Class and Description
--- | ---
`class` | `RX1<E1,R>` Defines `alias` for `IgniteReducerX` by extending it.

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.7.0
Release Date | : August 1 2016