Package eu.clarin.sru.server
Class SRUQueryBase<T>
- java.lang.Object
- 
- eu.clarin.sru.server.SRUQueryBase<T>
 
- 
- Type Parameters:
- T- abstract syntax tree (object) for parsed queries.
 - All Implemented Interfaces:
- SRUQuery<T>
 - Direct Known Subclasses:
- CQLQueryParser.CQLQuery,- SearchTermsQueryParser.SearchTermsQuery
 
 public abstract class SRUQueryBase<T> extends Object implements SRUQuery<T> Base class for implementing for a parsed query to be returned from aSRUQueryParser.
- 
- 
Field SummaryFields Modifier and Type Field Description protected TparsedQueryprotected StringrawQuery
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedSRUQueryBase(String rawQuery, T parsedQuery)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetParsedQuery()Get the parsed query as an abstract syntax tree.StringgetRawQuery()Get the original query as a string.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface eu.clarin.sru.server.SRUQuerygetQueryType
 
- 
 
- 
- 
- 
Method Detail- 
getRawQuerypublic String getRawQuery() Description copied from interface:SRUQueryGet the original query as a string.- Specified by:
- getRawQueryin interface- SRUQuery<T>
- Returns:
- the original query
 
 - 
getParsedQuerypublic T getParsedQuery() Description copied from interface:SRUQueryGet the parsed query as an abstract syntax tree.- Specified by:
- getParsedQueryin interface- SRUQuery<T>
- Returns:
- the parsed query as an abstract syntax tree.
 
 
- 
 
-