public class ClassBasedLuceneQueryResolverDelegate extends Object implements QueryResolverDelegate
QueryBuilder could do this.| Constructor and Description |
|---|
ClassBasedLuceneQueryResolverDelegate(ClassBasedLucenePropertyHelper propertyHelper,
EntityNamesResolver entityNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersisterReferenceAlias() |
boolean |
isUnqualifiedPropertyReference() |
PathedPropertyReferenceSource |
normalizeIntermediateIndexOperation(PathedPropertyReferenceSource propertyReferenceSource,
org.antlr.runtime.tree.Tree collectionProperty,
org.antlr.runtime.tree.Tree selector) |
PathedPropertyReferenceSource |
normalizePropertyPathIntermediary(PropertyPath path,
org.antlr.runtime.tree.Tree propertyName) |
PathedPropertyReferenceSource |
normalizePropertyPathTerminus(PropertyPath path,
org.antlr.runtime.tree.Tree propertyNameNode) |
PathedPropertyReferenceSource |
normalizeQualifiedRoot(org.antlr.runtime.tree.Tree root) |
void |
normalizeTerminalIndexOperation(PathedPropertyReferenceSource propertyReferenceSource,
org.antlr.runtime.tree.Tree collectionProperty,
org.antlr.runtime.tree.Tree selector) |
PathedPropertyReferenceSource |
normalizeUnqualifiedPropertyReference(org.antlr.runtime.tree.Tree property) |
PathedPropertyReferenceSource |
normalizeUnqualifiedPropertyReferenceSource(org.antlr.runtime.tree.Tree identifier394) |
PathedPropertyReferenceSource |
normalizeUnqualifiedRoot(org.antlr.runtime.tree.Tree identifier382) |
void |
popStrategy() |
void |
propertyPathCompleted(PropertyPath path)
Notifies this delegate when parsing of a property path in the SELECT or WHERE is completed.
|
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 |
registerJoinAlias(org.antlr.runtime.tree.Tree alias,
PropertyPath path) |
void |
registerPersisterSpace(org.antlr.runtime.tree.Tree entityName,
org.antlr.runtime.tree.Tree alias)
See rule entityName
|
public ClassBasedLuceneQueryResolverDelegate(ClassBasedLucenePropertyHelper propertyHelper, EntityNamesResolver entityNames)
public void registerPersisterSpace(org.antlr.runtime.tree.Tree entityName,
org.antlr.runtime.tree.Tree alias)
registerPersisterSpace in interface QueryResolverDelegatepublic boolean isUnqualifiedPropertyReference()
isUnqualifiedPropertyReference in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizeUnqualifiedPropertyReference(org.antlr.runtime.tree.Tree property)
normalizeUnqualifiedPropertyReference in interface QueryResolverDelegatepublic boolean isPersisterReferenceAlias()
isPersisterReferenceAlias in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizeUnqualifiedRoot(org.antlr.runtime.tree.Tree identifier382)
normalizeUnqualifiedRoot in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizeQualifiedRoot(org.antlr.runtime.tree.Tree root)
normalizeQualifiedRoot in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizePropertyPathIntermediary(PropertyPath path, org.antlr.runtime.tree.Tree propertyName)
normalizePropertyPathIntermediary in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizeIntermediateIndexOperation(PathedPropertyReferenceSource propertyReferenceSource, org.antlr.runtime.tree.Tree collectionProperty, org.antlr.runtime.tree.Tree selector)
normalizeIntermediateIndexOperation in interface QueryResolverDelegatepublic void normalizeTerminalIndexOperation(PathedPropertyReferenceSource propertyReferenceSource, org.antlr.runtime.tree.Tree collectionProperty, org.antlr.runtime.tree.Tree selector)
normalizeTerminalIndexOperation in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizeUnqualifiedPropertyReferenceSource(org.antlr.runtime.tree.Tree identifier394)
normalizeUnqualifiedPropertyReferenceSource in interface QueryResolverDelegatepublic PathedPropertyReferenceSource normalizePropertyPathTerminus(PropertyPath path, org.antlr.runtime.tree.Tree propertyNameNode)
normalizePropertyPathTerminus in interface QueryResolverDelegatepublic void pushFromStrategy(JoinType joinType, org.antlr.runtime.tree.Tree assosiationFetchTree, org.antlr.runtime.tree.Tree propertyFetchTree, org.antlr.runtime.tree.Tree alias)
pushFromStrategy in interface QueryResolverDelegatepublic void pushSelectStrategy()
pushSelectStrategy in interface QueryResolverDelegatepublic void popStrategy()
popStrategy in interface QueryResolverDelegatepublic void propertyPathCompleted(PropertyPath path)
QueryResolverDelegatepropertyPathCompleted in interface QueryResolverDelegatepath - the completely parsed property pathpublic void registerJoinAlias(org.antlr.runtime.tree.Tree alias,
PropertyPath path)
registerJoinAlias in interface QueryResolverDelegateCopyright © 2016. All rights reserved.