public void setIgnoreSegmentEndToken(Token.TYPE type) {
      m_ignoreSegmentEndToken = type;
    }
Ignore all subsequent tokens up to and including the provided token.

@param type  the last token type of the ignore segment
ambari-server/src/main/java/org/apache/ambari/server/api/predicate/QueryLexer.java