Class SingleSender

All Implemented Interfaces:
Iterable<PhysicalOperator>, GraphValue<PhysicalOperator>, FragmentLeaf, FragmentRoot, PhysicalOperator, Sender

public class SingleSender extends AbstractSender
Sender that pushes all data to a single destination node.
  • Field Details

  • Constructor Details

    • SingleSender

      public SingleSender(int oppositeMajorFragmentId, int oppositeMinorFragmentId, PhysicalOperator child, CoordinationProtos.DrillbitEndpoint destination)
      Create a SingleSender which sends data to fragment identified by given MajorFragmentId and MinorFragmentId, and running at given endpoint
      Parameters:
      oppositeMajorFragmentId - MajorFragmentId of the receiver fragment.
      oppositeMinorFragmentId - MinorFragmentId of the receiver fragment.
      child - Child operator
      destination - Drillbit endpoint where the receiver fragment is running.
    • SingleSender

      public SingleSender(int oppositeMajorFragmentId, PhysicalOperator child, CoordinationProtos.DrillbitEndpoint destination)
      Create a SingleSender which sends data to fragment with MinorFragmentId as 0 in given opposite major fragment.
      Parameters:
      oppositeMajorFragmentId - MajorFragmentId of the receiver fragment.
      child - Child operator
      destination - Drillbit endpoint where the receiver fragment is running.
  • Method Details