Class ParseResult<O>


  • public class ParseResult<O>
    extends Object
    Encapsulates the result of parsing a string-based query: the parsed query itself, and any query options associated with the query.

    Query options specify optional non-query parameters which might have been parsed along with the query, such as how results should be ordered etc.

    Author:
    niall.gallagher
    • Constructor Detail

    • Method Detail

      • getQuery

        public Query<O> getQuery()
        Returns the parsed query.
        Returns:
        The parsed query (never null).
      • getQueryOptions

        public QueryOptions getQueryOptions()
        Returns the parsed query options, which may include OrderByOption if ordering was specified in the string query.

        If no query options were specified in the string then the returned query options will not be null, but will be empty.

        Returns:
        The parsed query options.