public class SKeyedGather extends BaseOperation
channel, op
Constructor and Description |
---|
SKeyedGather(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector) |
SKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector) |
SKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
int edgeId,
MessageSchema messageSchema)
Construct a Streaming Key based partition operation
|
SKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
MessageSchema messageSchema) |
Modifier and Type | Method and Description |
---|---|
boolean |
gather(int src,
java.lang.Object key,
java.lang.Object message,
int flags)
Send a message to be reduced
|
boolean |
gather(int src,
Tuple data,
int flags)
Send a message to be reduced
|
close, finish, isComplete, progress, progressChannel, reset, sendBarrier, waitForCompletion
public SKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, int edgeId, MessageSchema messageSchema)
comm
- the communicatorplan
- task plansources
- source taskstargets
- target tasksdType
- data typekType
- key typercvr
- receiverdestSelector
- destination selectorpublic SKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector)
public SKeyedGather(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector)
public SKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, MessageSchema messageSchema)
public boolean gather(int src, java.lang.Object key, java.lang.Object message, int flags)
src
- sourcekey
- keymessage
- messageflags
- message flagpublic boolean gather(int src, Tuple data, int flags)
src
- sourcedata
- data tupleflags
- message flag