Package org.nuxeo.ecm.core.storage
Class QueryOptimizer.ReferencePrefixAnalyzer
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor
org.nuxeo.ecm.core.storage.QueryOptimizer.ReferencePrefixAnalyzer
- All Implemented Interfaces:
IVisitor
- Enclosing class:
- QueryOptimizer
Analyzes references to compute common prefix info in order to later factor them in a parent expression.
- Since:
- 9.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
processExpression
(Expression node, List<? extends Operand> operands) protected void
processReference
(Reference node) void
visitExpression
(Expression node) void
void
visitReference
(Reference node) Methods inherited from class org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor
visitBooleanLiteral, visitDateLiteral, visitDoubleLiteral, visitFromClause, visitFunction, visitGroupByClause, visitHavingClause, visitIntegerLiteral, visitLiteral, visitLiteralList, visitOperandList, visitOperator, visitOrderByClause, visitOrderByExpr, visitOrderByList, visitQuery, visitReferenceList, visitSelectClause, visitStringLiteral, visitWhereClause
-
Constructor Details
-
ReferencePrefixAnalyzer
public ReferencePrefixAnalyzer()
-
-
Method Details
-
visitReference
- Specified by:
visitReference
in interfaceIVisitor
- Overrides:
visitReference
in classDefaultQueryVisitor
-
visitMultiExpression
- Specified by:
visitMultiExpression
in interfaceIVisitor
- Overrides:
visitMultiExpression
in classDefaultQueryVisitor
-
visitExpression
- Specified by:
visitExpression
in interfaceIVisitor
- Overrides:
visitExpression
in classDefaultQueryVisitor
-
processReference
-
processExpression
-