- 
- All Superinterfaces:
- Scope
 
 public interface VisitContext extends Scope A context object forQueryParttraversal passed to registeredVisitListener's.- Author:
- Lukas Eder
- See Also:
- VisitListener
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BindContextbindContext()Clauseclause()The most recent clause that was encountered throughContext.start(Clause).Clause[]clauses()A path of clauses going through the visiting tree.intclausesLength()This is the same as callingclauses().length.Context<?>context()The underlyingRenderContextorBindContextobject.QueryPartqueryPart()The most recentQueryPartthat was encountered throughContext.visit(QueryPart).voidqueryPart(QueryPart part)Replace the most recentQueryPartthat was encountered throughContext.visit(QueryPart).QueryPart[]queryParts()A path ofQueryParts going through the visiting tree.intqueryPartsLength()This is the same as callingqueryParts().length.RenderContextrenderContext()
 
- 
- 
- 
Method Detail- 
clauseClause clause() The most recent clause that was encountered throughContext.start(Clause).
 - 
clausesClause[] clauses() A path of clauses going through the visiting tree.This returns all previous clauses that were encountered through Context.start(Clause)and that haven't been removed yet throughContext.end(Clause). In other words,VisitContextcontains a stack of clauses.
 - 
clausesLengthint clausesLength() This is the same as callingclauses().length.
 - 
queryPartQueryPart queryPart() The most recentQueryPartthat was encountered throughContext.visit(QueryPart).
 - 
queryPartvoid queryPart(QueryPart part) Replace the most recentQueryPartthat was encountered throughContext.visit(QueryPart).This method can be called by VisitListenerimplementation methods, in particular byVisitListener.visitStart(VisitContext).- Parameters:
- part- The new- QueryPart.
 
 - 
queryPartsQueryPart[] queryParts() A path ofQueryParts going through the visiting tree.This returns all previous QueryPartsthat were encountered throughContext.visit(QueryPart). In other words,VisitContextcontains a stack ofQueryParts.
 - 
queryPartsLengthint queryPartsLength() This is the same as callingqueryParts().length.
 - 
contextContext<?> context() The underlyingRenderContextorBindContextobject.
 - 
renderContextRenderContext renderContext() The underlyingRenderContextornull, if the underlying context is aBindContext.[#2694] [#2695] As of jOOQ 3.2, the QueryParttraversal SPI throughVisitListeneris only implemented forRenderContext. Hence, you may need to inline bind values if applicable.
 - 
bindContextBindContext bindContext() throws UnsupportedOperationException - Throws:
- UnsupportedOperationException- [#2694] [#2695] As of jOOQ 3.2, this method is not yet implemented as- QueryParttraversal SPI through- VisitListeneris only implemented for- RenderContext
 
 
- 
 
-