Serialized Form (Lucene 10.5.0 queryparser API)
Description: serialized forms

# Serialized Form

- ## Package org.apache.lucene.queryparser.classic

  - ### Exception Class org.apache.lucene.queryparser.classic.ParseException

    class ParseException extends Exception implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### currentToken

            Token currentToken

        This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.

      - ##### expectedTokenSequences

            int[][] expectedTokenSequences

        Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

      - ##### tokenImage

            String[] tokenImage

        This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

  - ### Class org.apache.lucene.queryparser.classic.Token

    class Token extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### beginColumn

            int beginColumn

        The column number of the first character of this Token.

      - ##### beginLine

            int beginLine

        The line number of the first character of this Token.

      - ##### endColumn

            int endColumn

        The column number of the last character of this Token.

      - ##### endLine

            int endLine

        The line number of the last character of this Token.

      - ##### image

            String image

        The string image of the token.

      - ##### kind

            int kind

        An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

      - ##### next

            Token next

        A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

      - ##### specialToken

            Token specialToken

        This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

  - ### Exception Class org.apache.lucene.queryparser.classic.TokenMgrError

    class TokenMgrError extends Error implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### errorCode

            int errorCode

        Indicates the reason why the exception is thrown. It will have one of the above 4 values.

- ## Package org.apache.lucene.queryparser.flexible.core

  - ### Exception Class org.apache.lucene.queryparser.flexible.core.QueryNodeError

    class QueryNodeError extends Error implements Serializable

    - #### Serialized Fields

      - ##### message

            Message message

  - ### Exception Class org.apache.lucene.queryparser.flexible.core.QueryNodeException

    class QueryNodeException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### message

            Message message

  - ### Exception Class org.apache.lucene.queryparser.flexible.core.QueryNodeParseException

    class QueryNodeParseException extends QueryNodeException implements Serializable

    - #### Serialized Fields

      - ##### beginColumn

            int beginColumn

      - ##### beginLine

            int beginLine

      - ##### errorToken

            String errorToken

      - ##### query

            CharSequence query

- ## Package org.apache.lucene.queryparser.flexible.standard.config

  - ### Class org.apache.lucene.queryparser.flexible.standard.config.NumberDateFormat

    class NumberDateFormat extends NumberFormat implements Serializable
    serialVersionUID:
      964823936071308283L

    - #### Serialized Fields

      - ##### dateFormat

            DateFormat dateFormat

- ## Package org.apache.lucene.queryparser.flexible.standard.parser

  - ### Exception Class org.apache.lucene.queryparser.flexible.standard.parser.ParseException

    class ParseException extends QueryNodeParseException implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### currentToken

            Token currentToken

        This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.

      - ##### expectedTokenSequences

            int[][] expectedTokenSequences

        Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

      - ##### tokenImage

            String[] tokenImage

        This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

  - ### Class org.apache.lucene.queryparser.flexible.standard.parser.Token

    class Token extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### beginColumn

            int beginColumn

        The column number of the first character of this Token.

      - ##### beginLine

            int beginLine

        The line number of the first character of this Token.

      - ##### endColumn

            int endColumn

        The column number of the last character of this Token.

      - ##### endLine

            int endLine

        The line number of the last character of this Token.

      - ##### image

            String image

        The string image of the token.

      - ##### kind

            int kind

        An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

      - ##### next

            Token next

        A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

      - ##### specialToken

            Token specialToken

        This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

  - ### Exception Class org.apache.lucene.queryparser.flexible.standard.parser.TokenMgrError

    class TokenMgrError extends Error implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### errorCode

            int errorCode

        Indicates the reason why the exception is thrown. It will have one of the above 4 values.

- ## Package org.apache.lucene.queryparser.surround.parser

  - ### Exception Class org.apache.lucene.queryparser.surround.parser.ParseException

    class ParseException extends Exception implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### currentToken

            Token currentToken

        This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.

      - ##### expectedTokenSequences

            int[][] expectedTokenSequences

        Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

      - ##### tokenImage

            String[] tokenImage

        This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

  - ### Class org.apache.lucene.queryparser.surround.parser.Token

    class Token extends Object implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### beginColumn

            int beginColumn

        The column number of the first character of this Token.

      - ##### beginLine

            int beginLine

        The line number of the first character of this Token.

      - ##### endColumn

            int endColumn

        The column number of the last character of this Token.

      - ##### endLine

            int endLine

        The line number of the last character of this Token.

      - ##### image

            String image

        The string image of the token.

      - ##### kind

            int kind

        An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

      - ##### next

            Token next

        A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

      - ##### specialToken

            Token specialToken

        This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

  - ### Exception Class org.apache.lucene.queryparser.surround.parser.TokenMgrError

    class TokenMgrError extends Error implements Serializable
    serialVersionUID:
      1L

    - #### Serialized Fields

      - ##### errorCode

            int errorCode

        Indicates the reason why the exception is thrown. It will have one of the above 4 values.

- ## Package org.apache.lucene.queryparser.surround.query

  - ### Exception Class org.apache.lucene.queryparser.surround.query.TooManyBasicQueries

    class TooManyBasicQueries extends IOException implements Serializable

- ## Package org.apache.lucene.queryparser.xml

  - ### Exception Class org.apache.lucene.queryparser.xml.ParserException

    class ParserException extends Exception implements Serializable