public class JoinBatchOperation extends AbstractParallelOperation
Modifier and Type | Field and Description |
---|---|
protected BJoin |
op |
channel, config, inEdge, logicalPlan, outMessages, syncs
Constructor and Description |
---|
JoinBatchOperation(Config config,
Communicator network,
LogicalPlan tPlan,
java.util.Set<java.lang.Integer> sources1,
java.util.Set<java.lang.Integer> sources2,
java.util.Set<java.lang.Integer> dests,
Edge leftEdge,
Edge rightEdge,
java.util.Map<java.lang.Integer,java.lang.Integer> srcGlobalToIndex,
java.util.Map<java.lang.Integer,java.lang.Integer> tgtsGlobalToIndex)
Creates an instance of
JoinBatchOperation |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the parallel operation
|
void |
finish(int source)
Indicate the end of the operation
|
BaseOperation |
getOp() |
void |
reset()
Refresh the operation to start from beginning
|
boolean |
send(int source,
IMessage message,
int flags)
Send a message over the operation
|
isComplete, progress, register, registerSync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sendBarrier
protected BJoin op
public JoinBatchOperation(Config config, Communicator network, LogicalPlan tPlan, java.util.Set<java.lang.Integer> sources1, java.util.Set<java.lang.Integer> sources2, java.util.Set<java.lang.Integer> dests, Edge leftEdge, Edge rightEdge, java.util.Map<java.lang.Integer,java.lang.Integer> srcGlobalToIndex, java.util.Map<java.lang.Integer,java.lang.Integer> tgtsGlobalToIndex)
JoinBatchOperation
public boolean send(int source, IMessage message, int flags)
IParallelOperation
source
- sourcemessage
- the messagepublic void finish(int source)
IParallelOperation
finish
in interface IParallelOperation
finish
in class AbstractParallelOperation
source
- the sourcepublic void close()
IParallelOperation
close
in interface IParallelOperation
close
in class AbstractParallelOperation
public void reset()
IParallelOperation
reset
in interface IParallelOperation
reset
in class AbstractParallelOperation
public BaseOperation getOp()