public class SReduce extends BaseOperation
channel, op
Constructor and Description |
---|
SReduce(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr) |
SReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
int target,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr) |
SReduce(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
int target,
MessageType dataType,
ReduceFunction fnc,
SingularReceiver rcvr,
int edgeId,
MessageSchema messageSchema)
Construct a Streaming Reduce operation
|
Modifier and Type | Method and Description |
---|---|
boolean |
reduce(int src,
java.lang.Object message,
int flags)
Send a message to be reduced
|
close, finish, isComplete, progress, progressChannel, reset, sendBarrier, waitForCompletion
public SReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, int target, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr, int edgeId, MessageSchema messageSchema)
comm
- the communicatorplan
- task plansources
- source taskstarget
- target tasksfnc
- reduce functionrcvr
- receiverdataType
- data typepublic SReduce(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, int target, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr)
public SReduce(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType dataType, ReduceFunction fnc, SingularReceiver rcvr)