public class CreateReducersApiWrapper extends Object implements CreateReducersApi
CreateReducersApi.CreateReducerFunctionApi
Constructor and Description |
---|
CreateReducersApiWrapper(BlockMasterApi masterApi,
ReducersForPieceHandler reducersApi) |
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.
|
ImmutableClassesGiraphConfiguration<?,?,?> |
getConf()
Return the configuration used by this object.
|
public CreateReducersApiWrapper(BlockMasterApi masterApi, ReducersForPieceHandler reducersApi)
public <S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createLocalReducer(ReduceOperation<S,R> reduceOp)
CreateReducersApi
createLocalReducer
in interface CreateReducersApi
public <S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createLocalReducer(ReduceOperation<S,R> reduceOp, R globalInitialValue)
CreateReducersApi
createLocalReducer
in interface CreateReducersApi
public <S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createGlobalReducer(ReduceOperation<S,R> reduceOp)
CreateReducersApi
createGlobalReducer
in interface CreateReducersApi
public <S,R extends org.apache.hadoop.io.Writable> ReducerHandle<S,R> createGlobalReducer(ReduceOperation<S,R> reduceOp, R globalInitialValue)
CreateReducersApi
createGlobalReducer
in interface CreateReducersApi
public ImmutableClassesGiraphConfiguration<?,?,?> getConf()
BlockConfApi
getConf
in interface BlockConfApi
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.