public class UntypedLuceneQueryResolverDelegate extends Object implements QueryResolverDelegate
PropertyPath
s for any referenced properties but doesn't perform any kind
of validation. Intended to be used for queries targeted at dynamic, non Java class based entities.Constructor and Description |
---|
UntypedLuceneQueryResolverDelegate() |
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 |
registerPersisterSpace(org.antlr.runtime.tree.Tree entityName,
org.antlr.runtime.tree.Tree alias) |
public void registerPersisterSpace(org.antlr.runtime.tree.Tree entityName, org.antlr.runtime.tree.Tree alias)
registerPersisterSpace
in interface QueryResolverDelegate
public boolean isUnqualifiedPropertyReference()
isUnqualifiedPropertyReference
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizeUnqualifiedPropertyReference(org.antlr.runtime.tree.Tree property)
normalizeUnqualifiedPropertyReference
in interface QueryResolverDelegate
public boolean isPersisterReferenceAlias()
isPersisterReferenceAlias
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizeUnqualifiedRoot(org.antlr.runtime.tree.Tree identifier382)
normalizeUnqualifiedRoot
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizeQualifiedRoot(org.antlr.runtime.tree.Tree root)
normalizeQualifiedRoot
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizePropertyPathIntermediary(PropertyPath path, org.antlr.runtime.tree.Tree propertyName)
normalizePropertyPathIntermediary
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizeIntermediateIndexOperation(PathedPropertyReferenceSource propertyReferenceSource, org.antlr.runtime.tree.Tree collectionProperty, org.antlr.runtime.tree.Tree selector)
normalizeIntermediateIndexOperation
in interface QueryResolverDelegate
public void normalizeTerminalIndexOperation(PathedPropertyReferenceSource propertyReferenceSource, org.antlr.runtime.tree.Tree collectionProperty, org.antlr.runtime.tree.Tree selector)
normalizeTerminalIndexOperation
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizeUnqualifiedPropertyReferenceSource(org.antlr.runtime.tree.Tree identifier394)
normalizeUnqualifiedPropertyReferenceSource
in interface QueryResolverDelegate
public PathedPropertyReferenceSource normalizePropertyPathTerminus(PropertyPath path, org.antlr.runtime.tree.Tree propertyNameNode)
normalizePropertyPathTerminus
in interface QueryResolverDelegate
public 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 QueryResolverDelegate
public void pushSelectStrategy()
pushSelectStrategy
in interface QueryResolverDelegate
public void popStrategy()
popStrategy
in interface QueryResolverDelegate
public void propertyPathCompleted(PropertyPath path)
QueryResolverDelegate
propertyPathCompleted
in interface QueryResolverDelegate
path
- the completely parsed property pathCopyright © 2013. All rights reserved.