public class LuceneQueryRendererDelegate extends SingleEntityQueryRendererDelegate<org.apache.lucene.search.Query,LuceneQueryParsingResult>
SingleEntityQueryRendererDelegate.Status
aggregationType, alias, aliasToEntityType, aliasToPropertyPath, builder, projections, propertyPath, SORT_ASC_SPEC, status, targetType, targetTypeName
Constructor and Description |
---|
LuceneQueryRendererDelegate(EntityNamesResolver entityNames,
SingleEntityQueryBuilder<org.apache.lucene.search.Query> builder,
Map<String,Object> namedParameters,
LucenePropertyHelper propertyHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSortField(PropertyPath propertyPath,
String collateName,
boolean isAscending)
Add field sort criteria.
|
LuceneQueryParsingResult |
getResult()
Returns the result created by this delegate after the tree processing has been finished.
|
void |
setPropertyPath(PropertyPath propertyPath)
Sets a property path representing one property in the SELECT, GROUP BY, WHERE or HAVING clause of a given query.
|
activateAggregation, activateAND, activateNOT, activateOR, addGrouping, aliasNotFound, deactivateAggregation, deactivateBoolean, getHavingBuilder, groupingValue, isPersisterReferenceAlias, isUnqualifiedPropertyReference, popStrategy, predicateBetween, predicateEquals, predicateGreater, predicateGreaterOrEqual, predicateIn, predicateIsNull, predicateLess, predicateLessOrEqual, predicateLike, predicateNotEquals, pushFromStrategy, pushGroupByStrategy, pushHavingStrategy, pushOrderByStrategy, pushSelectStrategy, pushWhereStrategy, registerEmbeddedAlias, registerJoinAlias, registerPersisterSpace, resolveAlias, setPropertyReferencePath, sortSpecification
public LuceneQueryRendererDelegate(EntityNamesResolver entityNames, SingleEntityQueryBuilder<org.apache.lucene.search.Query> builder, Map<String,Object> namedParameters, LucenePropertyHelper propertyHelper)
protected void addSortField(PropertyPath propertyPath, String collateName, boolean isAscending)
SingleEntityQueryRendererDelegate
addSortField
in class SingleEntityQueryRendererDelegate<org.apache.lucene.search.Query,LuceneQueryParsingResult>
propertyPath
- the path of the field being sortedcollateName
- optional collation nameisAscending
- sort directionpublic LuceneQueryParsingResult getResult()
QueryRendererDelegate
getResult
in interface QueryRendererDelegate<LuceneQueryParsingResult>
getResult
in class SingleEntityQueryRendererDelegate<org.apache.lucene.search.Query,LuceneQueryParsingResult>
public void setPropertyPath(PropertyPath propertyPath)
QueryRendererDelegate
propertyPath
- the property path to setCopyright © 2017. All rights reserved.