public interface CreateReducersApi extends BlockConfApi
Modifier and Type | Interface and Description |
---|---|
static interface |
CreateReducersApi.CreateReducerFunctionApi
Function that creates a reducer - abstracting away whether it is
local or global reducer
|
Modifier and Type | Method and Description |
---|---|
<S,R extends org.apache.hadoop.io.Writable> |
createGlobalReducer(ReduceOperation<S,R> reduceOp)
Create global reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
createGlobalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue)
Create global reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
createLocalReducer(ReduceOperation<S,R> reduceOp)
Create local reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
createLocalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue)
Create local reducer, returning a handle to it.
|
getConf
<S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createLocalReducer(ReduceOperation<S,R> reduceOp)
<S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createLocalReducer(ReduceOperation<S,R> reduceOp, R globalInitialValue)
<S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createGlobalReducer(ReduceOperation<S,R> reduceOp)
<S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createGlobalReducer(ReduceOperation<S,R> reduceOp, R globalInitialValue)
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.