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
public class QueryOptimizer.ReferencePrefixAnalyzer extends DefaultQueryVisitor
Analyzes references to compute common prefix info in order to later factor them in a parent expression.- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description ReferencePrefixAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processExpression(Expression node, List<? extends Operand> operands)
protected void
processReference(Reference node)
void
visitExpression(Expression node)
void
visitMultiExpression(MultiExpression node)
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
-
-
-
-
Method Detail
-
visitReference
public void visitReference(Reference node)
- Specified by:
visitReference
in interfaceIVisitor
- Overrides:
visitReference
in classDefaultQueryVisitor
-
visitMultiExpression
public void visitMultiExpression(MultiExpression node)
- Specified by:
visitMultiExpression
in interfaceIVisitor
- Overrides:
visitMultiExpression
in classDefaultQueryVisitor
-
visitExpression
public void visitExpression(Expression node)
- Specified by:
visitExpression
in interfaceIVisitor
- Overrides:
visitExpression
in classDefaultQueryVisitor
-
processReference
protected void processReference(Reference node)
-
processExpression
protected void processExpression(Expression node, List<? extends Operand> operands)
-
-