Class ConstantNode

All Implemented Interfaces:
NetworkStructureChangeSensitiveNode, Node, Supplier

public class ConstantNode extends StandardNode
Node that always contains a single constant Tuple
  • Field Details

    • constant

      protected Tuple constant
  • Constructor Details

  • Method Details

    • pullInto

      public void pullInto(Collection<Tuple> collector, boolean flush)
      Description copied from interface: Supplier
      Pulls the contents of this object in this particular moment into a target collection.
      Parameters:
      flush - if true, flushing of messages is allowed during the pull, otherwise flushing is not allowed
    • pullIntoWithTimeline

      public void pullIntoWithTimeline(Map<Tuple,Timeline<Timestamp>> collector, boolean flush)