public class BKeyedGather extends BaseOperation
channel, op
Constructor and Description |
---|
BKeyedGather(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector) |
BKeyedGather(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
boolean useDisk,
java.util.Comparator<java.lang.Object> comparator,
boolean groupByKey) |
BKeyedGather(Communicator comm,
LogicalPlanBuilder logicalPlanBuilder,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
boolean useDisk,
java.util.Comparator<java.lang.Object> comparator,
boolean groupByKey,
MessageSchema schema) |
BKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> destinations,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector)
Creates an instance of BKeyedGather without shuffling
|
BKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> destinations,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
boolean useDisk,
java.util.Comparator<java.lang.Object> comparator,
boolean groupByKey) |
BKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> destinations,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
boolean useDisk,
java.util.Comparator<java.lang.Object> comparator,
boolean groupByKey,
int edgeId,
MessageSchema messageSchema)
Creates an instance of BKeyedGather with key comparator
|
BKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> destinations,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
boolean useDisk,
java.util.Comparator<java.lang.Object> comparator,
boolean groupByKey,
MessageSchema messageSchema) |
BKeyedGather(Communicator comm,
LogicalPlan plan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> destinations,
MessageType kType,
MessageType dType,
BulkReceiver rcvr,
DestinationSelector destSelector,
MessageSchema messageSchema) |
Modifier and Type | Method and Description |
---|---|
boolean |
gather(int source,
java.lang.Object key,
java.lang.Object data,
int flags) |
boolean |
gather(int src,
Tuple data,
int flags) |
boolean |
progressChannel()
Progress the channel and the operation
|
close, finish, isComplete, progress, reset, sendBarrier, waitForCompletion
public BKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> destinations, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector)
public BKeyedGather(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector)
public BKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> destinations, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, MessageSchema messageSchema)
public BKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> destinations, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, boolean useDisk, java.util.Comparator<java.lang.Object> comparator, boolean groupByKey, MessageSchema messageSchema)
public BKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> destinations, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, boolean useDisk, java.util.Comparator<java.lang.Object> comparator, boolean groupByKey)
public BKeyedGather(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, boolean useDisk, java.util.Comparator<java.lang.Object> comparator, boolean groupByKey)
public BKeyedGather(Communicator comm, LogicalPlanBuilder logicalPlanBuilder, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, boolean useDisk, java.util.Comparator<java.lang.Object> comparator, boolean groupByKey, MessageSchema schema)
public BKeyedGather(Communicator comm, LogicalPlan plan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> destinations, MessageType kType, MessageType dType, BulkReceiver rcvr, DestinationSelector destSelector, boolean useDisk, java.util.Comparator<java.lang.Object> comparator, boolean groupByKey, int edgeId, MessageSchema messageSchema)
comparator
- Comparator to use for sorting keyspublic boolean gather(int source, java.lang.Object key, java.lang.Object data, int flags)
public boolean gather(int src, Tuple data, int flags)
public boolean progressChannel()
BaseOperation
progressChannel
in class BaseOperation