Class SRUQueryBase<T>

    • Field Detail

      • rawQuery

        protected final String rawQuery
      • parsedQuery

        protected final T parsedQuery
    • Constructor Detail

      • SRUQueryBase

        protected SRUQueryBase​(String rawQuery,
                               T parsedQuery)
        Constructor.
        Parameters:
        rawQuery - the raw and unparsed query as String
        parsedQuery - the query parsed into an abstract syntax tree object
    • Method Detail

      • getRawQuery

        public String getRawQuery()
        Description copied from interface: SRUQuery
        Get the original query as a string.
        Specified by:
        getRawQuery in interface SRUQuery<T>
        Returns:
        the original query
      • getParsedQuery

        public T getParsedQuery()
        Description copied from interface: SRUQuery
        Get the parsed query as an abstract syntax tree.
        Specified by:
        getParsedQuery in interface SRUQuery<T>
        Returns:
        the parsed query as an abstract syntax tree.