Class DefaultQueryVisitor
- java.lang.Object
-
- org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor
-
- All Implemented Interfaces:
IVisitor
- Direct Known Subclasses:
BaseSession.FieldDetector
,NXQLQueryMaker.QueryAnalyzer
,NXQLQueryMaker.WhereBuilder
,QueryOptimizer.ProjectionWildcardsFinder
,QueryOptimizer.ReferencePrefixAnalyzer
,SQLQueryBuilder
public class DefaultQueryVisitor extends Object implements IVisitor
A default implementation of a visitor that visits depth-first in standard expression order.- Author:
- Florent Guillaume
-
-
Constructor Summary
Constructors Constructor Description DefaultQueryVisitor()
-
Method Summary
-
-
-
Method Detail
-
visitQuery
public void visitQuery(SQLQuery node)
- Specified by:
visitQuery
in interfaceIVisitor
-
visitSelectClause
public void visitSelectClause(SelectClause node)
- Specified by:
visitSelectClause
in interfaceIVisitor
-
visitFromClause
public void visitFromClause(FromClause node)
- Specified by:
visitFromClause
in interfaceIVisitor
-
visitWhereClause
public void visitWhereClause(WhereClause node)
- Specified by:
visitWhereClause
in interfaceIVisitor
-
visitGroupByClause
public void visitGroupByClause(GroupByClause node)
- Specified by:
visitGroupByClause
in interfaceIVisitor
-
visitHavingClause
public void visitHavingClause(HavingClause node)
- Specified by:
visitHavingClause
in interfaceIVisitor
-
visitOrderByClause
public void visitOrderByClause(OrderByClause node)
- Specified by:
visitOrderByClause
in interfaceIVisitor
-
visitOrderByList
public void visitOrderByList(OrderByList node)
- Specified by:
visitOrderByList
in interfaceIVisitor
-
visitOrderByExpr
public void visitOrderByExpr(OrderByExpr node)
- Specified by:
visitOrderByExpr
in interfaceIVisitor
-
visitExpression
public void visitExpression(Expression node)
- Specified by:
visitExpression
in interfaceIVisitor
-
visitMultiExpression
public void visitMultiExpression(MultiExpression node)
- Specified by:
visitMultiExpression
in interfaceIVisitor
-
visitOperator
public void visitOperator(Operator node)
- Specified by:
visitOperator
in interfaceIVisitor
-
visitReference
public void visitReference(Reference node)
- Specified by:
visitReference
in interfaceIVisitor
-
visitReferenceList
public void visitReferenceList(ReferenceList node)
- Specified by:
visitReferenceList
in interfaceIVisitor
-
visitLiteral
public void visitLiteral(Literal node)
- Specified by:
visitLiteral
in interfaceIVisitor
-
visitLiteralList
public void visitLiteralList(LiteralList node)
- Specified by:
visitLiteralList
in interfaceIVisitor
-
visitDateLiteral
public void visitDateLiteral(DateLiteral node)
- Specified by:
visitDateLiteral
in interfaceIVisitor
-
visitStringLiteral
public void visitStringLiteral(StringLiteral node)
- Specified by:
visitStringLiteral
in interfaceIVisitor
-
visitDoubleLiteral
public void visitDoubleLiteral(DoubleLiteral node)
- Specified by:
visitDoubleLiteral
in interfaceIVisitor
-
visitIntegerLiteral
public void visitIntegerLiteral(IntegerLiteral node)
- Specified by:
visitIntegerLiteral
in interfaceIVisitor
-
visitBooleanLiteral
public void visitBooleanLiteral(BooleanLiteral node)
- Specified by:
visitBooleanLiteral
in interfaceIVisitor
-
visitFunction
public void visitFunction(Function node)
- Specified by:
visitFunction
in interfaceIVisitor
-
visitOperandList
public void visitOperandList(OperandList node)
- Specified by:
visitOperandList
in interfaceIVisitor
-
-