Class ReferencedMatches

java.lang.Object
com.yahoo.prelude.semantics.engine.ReferencedMatches

public class ReferencedMatches extends Object
The matches referenced by a particular context name in a rule evaluation
Author:
bratseth
  • Constructor Details

    • ReferencedMatches

      public ReferencedMatches(String contextName)
  • Method Details

    • addMatch

      public void addMatch(Match match)
    • getContextName

      public String getContextName()
    • matchIterator

      public Iterator<Match> matchIterator()
    • toItem

      public Item toItem(String label)
      Returns the item to insert from these referenced matches, or null if none
      Parameters:
      label - the label of the matches