Class TransformerNode

All Implemented Interfaces:
NetworkStructureChangeSensitiveNode, Node, Receiver, Supplier, Tunnel
Direct Known Subclasses:
RetePatternMatcher, TrimmerNode

public abstract class TransformerNode extends SingleInputNode
  • Constructor Details

    • TransformerNode

      public TransformerNode(ReteContainer reteContainer)
  • Method Details

    • transform

      protected abstract Tuple transform(Tuple input)
    • 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)
    • update

      public void update(Direction direction, Tuple updateElement, Timestamp timestamp)
      Description copied from interface: Receiver
      Updates the receiver with a newly found or lost partial matching.