Class LineCountingCharStream

java.lang.Object
org.graylog.plugins.views.search.validation.LineCountingCharStream
All Implemented Interfaces:
org.apache.lucene.queryparser.charstream.CharStream

public class LineCountingCharStream extends Object implements org.apache.lucene.queryparser.charstream.CharStream
  • Constructor Details

    • LineCountingCharStream

      public LineCountingCharStream(org.apache.lucene.queryparser.charstream.CharStream delegate)
  • Method Details

    • BeginToken

      public char BeginToken() throws IOException
      Specified by:
      BeginToken in interface org.apache.lucene.queryparser.charstream.CharStream
      Throws:
      IOException
    • readChar

      public char readChar() throws IOException
      Specified by:
      readChar in interface org.apache.lucene.queryparser.charstream.CharStream
      Throws:
      IOException
    • getBeginLine

      public int getBeginLine()
      Specified by:
      getBeginLine in interface org.apache.lucene.queryparser.charstream.CharStream
    • getBeginColumn

      public int getBeginColumn()
      Specified by:
      getBeginColumn in interface org.apache.lucene.queryparser.charstream.CharStream
    • getEndLine

      public int getEndLine()
      Specified by:
      getEndLine in interface org.apache.lucene.queryparser.charstream.CharStream
    • getEndColumn

      public int getEndColumn()
      Specified by:
      getEndColumn in interface org.apache.lucene.queryparser.charstream.CharStream
    • backup

      public void backup(int amount)
      Specified by:
      backup in interface org.apache.lucene.queryparser.charstream.CharStream
    • GetImage

      public String GetImage()
      Specified by:
      GetImage in interface org.apache.lucene.queryparser.charstream.CharStream
    • GetSuffix

      public char[] GetSuffix(int len)
      Specified by:
      GetSuffix in interface org.apache.lucene.queryparser.charstream.CharStream
    • Done

      public void Done()
      Specified by:
      Done in interface org.apache.lucene.queryparser.charstream.CharStream