public class JoinBatchCombinedReceiver
extends java.lang.Object
For now, twister2 support only joining two relations. This class is written to support more than two relations in future.
| Constructor and Description | 
|---|
JoinBatchCombinedReceiver(BulkReceiver recvr,
                         CommunicationContext.JoinAlgorithm algorithm,
                         CommunicationContext.JoinType joinType,
                         KeyComparatorWrapper keyComparator,
                         MessageType keyType)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
init(Config cfg,
    java.util.Set<java.lang.Integer> targets)  | 
boolean | 
receive(int target,
       java.lang.Object object,
       JoinRelation joinRelation)  | 
boolean | 
sync(int target,
    byte[] message,
    JoinRelation joinRelation)  | 
public JoinBatchCombinedReceiver(BulkReceiver recvr, CommunicationContext.JoinAlgorithm algorithm, CommunicationContext.JoinType joinType, KeyComparatorWrapper keyComparator, MessageType keyType)
public void init(Config cfg, java.util.Set<java.lang.Integer> targets)
public boolean receive(int target,
                       java.lang.Object object,
                       JoinRelation joinRelation)
public boolean sync(int target,
                    byte[] message,
                    JoinRelation joinRelation)