Пример #1
0
  /**
   * Method matchWholeTuple ...
   *
   * @param matcher
   * @param input of type Tuple @return boolean
   */
  protected boolean matchWholeTuple(Matcher matcher, Tuple input) {
    matcher.reset(input.toString("\t", false));

    boolean matchFound = matcher.find();

    LOG.debug("pattern: {}, matches: {}", getPatternString(), matchFound);

    return matchFound == negateMatch;
  }