class CustomQueryStringParser {

	protected Query getQuery(List<CrescentCollectionField> indexedFields, String customQueryString, Analyzer analyzer, String regexQueryString) throws CrescentInvalidRequestException {
		if(resultQuery != null) {
			return this.resultQuery;
		} else {
			return getQueryFromCustomQuery(indexedFields, customQueryString, analyzer, regexQueryString);
		}
	}

}