Package | Description |
---|---|
org.apache.giraph.block_app.framework.api |
Interfaces representing full API to the underlying graph processing system.
|
org.apache.giraph.block_app.framework.piece |
Single execution object - Piece, and related classes.
|
org.apache.giraph.block_app.framework.piece.global_comm |
Interfaces for Reducer and Broadcast Handles for automatic handling
of global communication within Pieces, hiding a lot of it's complexities.
|
org.apache.giraph.block_app.framework.piece.global_comm.internal |
Reducer and Broadcast Handles internal implementation for automatic handling
of global communication within Pieces, hiding a lot of it's complexities.
|
org.apache.giraph.block_app.reducers.array |
Reducers for collecting arrays of objects.
|
org.apache.giraph.block_app.reducers.collect |
Reducers for distributed collection of objects.
|
Modifier and Type | Method and Description |
---|---|
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApi.createGlobalReducer(ReduceOperation<S,R> reduceOp)
Create global reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApi.createGlobalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue)
Create global reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApi.createLocalReducer(ReduceOperation<S,R> reduceOp)
Create local reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApi.createLocalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue)
Create local reducer, returning a handle to it.
|
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApi.CreateReducerFunctionApi.createReducer(ReduceOperation<S,R> reduceOp) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultParentPiece.reduceDouble(ReducerHandle<org.apache.hadoop.io.DoubleWritable,?> reduceHandle,
double value) |
protected void |
DefaultParentPiece.reduceFloat(ReducerHandle<org.apache.hadoop.io.FloatWritable,?> reduceHandle,
float value) |
protected void |
DefaultParentPiece.reduceInt(ReducerHandle<org.apache.hadoop.io.IntWritable,?> reduceHandle,
int value) |
protected void |
DefaultParentPiece.reduceLong(ReducerHandle<org.apache.hadoop.io.LongWritable,?> reduceHandle,
long value) |
Modifier and Type | Method and Description |
---|---|
void |
ReduceUtilsObject.reduceDouble(ReducerHandle<org.apache.hadoop.io.DoubleWritable,?> reduceHandle,
double value) |
void |
ReduceUtilsObject.reduceFloat(ReducerHandle<org.apache.hadoop.io.FloatWritable,?> reduceHandle,
float value) |
void |
ReduceUtilsObject.reduceInt(ReducerHandle<org.apache.hadoop.io.IntWritable,?> reduceHandle,
int value) |
void |
ReduceUtilsObject.reduceLong(ReducerHandle<org.apache.hadoop.io.LongWritable,?> reduceHandle,
long value) |
void |
ReducerAndBroadcastWrapperHandle.registeredReducer(ReducerHandle<S,R> reducerHandle)
Set reducer handle to just registered handle
|
Modifier and Type | Class and Description |
---|---|
class |
ReducersForPieceHandler.GlobalReduceHandle<S,R extends org.apache.hadoop.io.Writable>
Global Reduce Handle is implementation of ReducerHandle, that will keep
only one value for each worker, and each call to reduce will have
to obtain a global lock, and incur synchronization costs.
|
class |
ReducersForPieceHandler.LocalReduceHandle<S,R extends org.apache.hadoop.io.Writable>
Local Reduce Handle is implementation of ReducerHandle, that will make a
partially reduced value on each worker thread, which are at the end
reduced all together.
|
class |
ReducersForPieceHandler.ReduceHandleImpl<S,R extends org.apache.hadoop.io.Writable>
Parent implementation of ReducerHandle
|
Modifier and Type | Method and Description |
---|---|
<S,R extends org.apache.hadoop.io.Writable> |
ReducersForPieceHandler.createGlobalReducer(MasterGlobalCommUsage master,
ReduceOperation<S,R> reduceOp,
R globalInitialValue) |
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApiWrapper.createGlobalReducer(ReduceOperation<S,R> reduceOp) |
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApiWrapper.createGlobalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue) |
<S,R extends org.apache.hadoop.io.Writable> |
ReducersForPieceHandler.createLocalReducer(MasterGlobalCommUsage master,
ReduceOperation<S,R> reduceOp,
R globalInitialValue) |
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApiWrapper.createLocalReducer(ReduceOperation<S,R> reduceOp) |
<S,R extends org.apache.hadoop.io.Writable> |
CreateReducersApiWrapper.createLocalReducer(ReduceOperation<S,R> reduceOp,
R globalInitialValue) |
Constructor and Description |
---|
ArrayOfReducers(int count,
Int2ObjFunction<ReducerHandle<S,R>> reduceHandleFactory) |
ArrayOfReducers(int count,
Supplier<ReducerHandle<S,R>> reduceHandleFactory) |
Modifier and Type | Class and Description |
---|---|
class |
CollectShardedPrimitiveReducerHandle<S>
ShardedReducerHandle where we keep a list of reduced values,
when primitives are used
|
class |
CollectShardedReducerHandle<S>
ShardedReducerHandle where we keep a list of reduced values
|
class |
CollectShardedTuplesOfPrimitivesReducerHandle
ShardedReducerHandle where we keep a list of reduced values,
and values consist of multiple primitives, so we keep one primitive
list for each
|
class |
ShardedReducerHandle<S,R>
Reducing values into a list of reducers, randomly,
and getting the results of all reducers together
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.