public interface QueryRendererDelegate<T>
Modifier and Type | Method and Description |
---|---|
void |
activateAggregation(AggregationPropertyPath.Type aggregationType) |
void |
activateAND() |
void |
activateNOT() |
void |
activateOR() |
void |
deactivateAggregation() |
void |
deactivateBoolean() |
T |
getResult()
Returns the result created by this delegate after the tree processing has been finished.
|
void |
groupingValue(String collateName) |
boolean |
isPersisterReferenceAlias() |
boolean |
isUnqualifiedPropertyReference() |
void |
popStrategy() |
void |
predicateBetween(String lower,
String upper) |
void |
predicateEquals(String comparativePredicate) |
void |
predicateGreater(String comparativePredicate) |
void |
predicateGreaterOrEqual(String comparativePredicate) |
void |
predicateIn(List<String> list) |
void |
predicateIsNull() |
void |
predicateLess(String comparativePredicate) |
void |
predicateLessOrEqual(String comparativePredicate) |
void |
predicateLike(String patternValue,
Character escapeCharacter) |
void |
predicateNotEquals(String comparativePredicate) |
void |
pushFromStrategy(JoinType joinType,
org.antlr.runtime.tree.Tree assosiationFetchTree,
org.antlr.runtime.tree.Tree propertyFetchTree,
org.antlr.runtime.tree.Tree alias) |
void |
pushGroupByStrategy() |
void |
pushHavingStrategy() |
void |
pushOrderByStrategy() |
void |
pushSelectStrategy() |
void |
pushWhereStrategy() |
void |
registerJoinAlias(org.antlr.runtime.tree.Tree alias,
PropertyPath path) |
void |
registerPersisterSpace(org.antlr.runtime.tree.Tree entityName,
org.antlr.runtime.tree.Tree alias) |
void |
setPropertyPath(PropertyPath propertyPath)
Sets a property path representing one property in the SELECT, GROUP BY, WHERE or HAVING clause of a given query.
|
void |
setPropertyReferencePath(PropertyPath propertyPath) |
void |
sortSpecification(String collateName,
String orderSpec)
Sets the sort direction, either "asc" or "desc", for the current property.
|
void registerPersisterSpace(org.antlr.runtime.tree.Tree entityName, org.antlr.runtime.tree.Tree alias)
void registerJoinAlias(org.antlr.runtime.tree.Tree alias, PropertyPath path)
boolean isUnqualifiedPropertyReference()
boolean isPersisterReferenceAlias()
void pushFromStrategy(JoinType joinType, org.antlr.runtime.tree.Tree assosiationFetchTree, org.antlr.runtime.tree.Tree propertyFetchTree, org.antlr.runtime.tree.Tree alias)
void pushSelectStrategy()
void pushWhereStrategy()
void pushGroupByStrategy()
void pushHavingStrategy()
void pushOrderByStrategy()
void popStrategy()
void activateOR()
void activateAND()
void activateNOT()
void deactivateBoolean()
void predicateLess(String comparativePredicate)
void predicateLessOrEqual(String comparativePredicate)
void predicateEquals(String comparativePredicate)
void predicateNotEquals(String comparativePredicate)
void predicateGreaterOrEqual(String comparativePredicate)
void predicateGreater(String comparativePredicate)
void predicateIsNull()
void activateAggregation(AggregationPropertyPath.Type aggregationType)
void deactivateAggregation()
void groupingValue(String collateName)
collateName
- optional collation namevoid sortSpecification(String collateName, String orderSpec)
setPropertyPath(PropertyPath)
collateName
- optional collation nameorderSpec
- a string with possible values "asc" or "desc"T getResult()
void setPropertyReferencePath(PropertyPath propertyPath)
void setPropertyPath(PropertyPath propertyPath)
propertyPath
- the property path to setCopyright © 2017. All rights reserved.