Class BiNode

All Implemented Interfaces:
Node, Comparable<Node>
Direct Known Subclasses:
Join, StreamJoin

public abstract class BiNode
extends AbstractNode
Author:
Pierre Lecerf ([email protected]) Created on 2020/03/02
  • Constructor Details

    • BiNode

      public BiNode​(Node upstream1, Node upstream2)
      Parameters:
      upstream1 -
      upstream2 -
  • Method Details

    • bind

      protected void bind​(SimpleNode other)
      Parameters:
      other -
    • getUpstream1

      public Node getUpstream1()
      Returns:
    • getUpstream2

      public Node getUpstream2()
      Returns:
    • getUpstream

      public List<Node> getUpstream()
      Description copied from interface: Node
      Returns the list of upstream nodes, ie. nodes which output is required in order to execute the current node. For Source nodes, this should be empty. For Pipe and Sink nodes, this should be a list of size 1. For Join nodes, this should be a list of size 2.
      Returns:
      the list of upstream nodes