public interface TermFactory
Modifier and Type | Method and Description |
---|---|
void |
initializeDefaultPredicate(SearchQuery.Builder builder)
Called before the individual search terms are processed so that a default predicate can be set if required.
|
boolean |
processTerm(SearchQuery.Builder builder,
com.edorasware.cloud.core.service.search.internal.SearchTerm term)
Process a single term from the query using the current time as the base date.
|
boolean |
processTerm(SearchQuery.Builder builder,
com.edorasware.cloud.core.service.search.internal.SearchTerm term,
Date baseDate)
Process a single term from the query.
|
void initializeDefaultPredicate(SearchQuery.Builder builder)
builder
- the current query builder instanceboolean processTerm(SearchQuery.Builder builder, com.edorasware.cloud.core.service.search.internal.SearchTerm term)
builder
- the current query builder instanceterm
- the term to be processedtrue
if the term was accepted by the term parserboolean processTerm(SearchQuery.Builder builder, com.edorasware.cloud.core.service.search.internal.SearchTerm term, Date baseDate)
builder
- the current query builder instanceterm
- the term to be processedbaseDate
- the given base datetrue
if the term was accepted by the term parserCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.