- All Superinterfaces:
- Scope
QueryPart traversal passed to registered
 VisitListener's.
 
 This type is a Scope with whose lifecycle is shared with the parent
 rendering Context scope. It also shares the latter's Scope.data()
 map.
- Author:
- Lukas Eder
- See Also:
- 
Method SummaryModifier and TypeMethodDescription@Nullable BindContext@NotNull Clauseclause()The most recent clause that was encountered throughContext.start(Clause).@NotNull Clause @NotNull []clauses()A path of clauses going through the visiting tree.intThis is the same as callingclauses().length.@NotNull Context<?> context()The underlyingRenderContextorBindContextobject.@NotNull QueryPartThe most recentQueryPartthat was encountered throughContext.visit(QueryPart).voidReplace the most recentQueryPartthat was encountered throughContext.visit(QueryPart).@NotNull QueryPart @NotNull []A path ofQueryParts going through the visiting tree.intThis is the same as callingqueryParts().length.@Nullable RenderContextMethods inherited from interface org.jooq.Scopeconfiguration, creationTime, data, data, data, dialect, dsl, family, settings
- 
Method Details- 
clauseThe most recent clause that was encountered throughContext.start(Clause).
- 
clausesA 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.
- 
queryPartThe most recentQueryPartthat was encountered throughContext.visit(QueryPart).
- 
queryPartReplace 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.
 
- 
queryPartsA 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.
- 
contextThe underlyingRenderContextorBindContextobject.
- 
renderContextThe 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.
- 
bindContext- Throws:
- UnsupportedOperationException- [#2694] [#2695] As of jOOQ 3.2, this method is not yet implemented as- QueryParttraversal SPI through- VisitListeneris only implemented for- RenderContext
 
 
-