MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / accept

Method accept

jOOQ/src/main/java/org/jooq/impl/QuantifiedArray.java:88–108  ·  view source on GitHub ↗
(Context<?> ctx)

Source from the content-addressed store, hash-verified

86 // ------------------------------------------------------------------------
87
88 @Override
89 public final void accept(Context<?> ctx) {
90 boolean extraParentheses = false ;
91
92 switch (ctx.family()) {
93
94
95
96
97
98
99
100
101 default:
102 ctx.visit(quantifier.keyword);
103 ctx.sql(extraParentheses ? " ((" : " (");
104 visitSubquery(ctx, delegate(ctx), PREDICAND, false);
105 ctx.sql(extraParentheses ? "))" : ")");
106 break;
107 }
108 }
109
110 private final QueryPart delegate(Context<?> ctx) {
111 if (array instanceof QOM.Array<T> a) {

Callers

nothing calls this directly

Calls 5

delegateMethod · 0.95
familyMethod · 0.65
visitMethod · 0.65
sqlMethod · 0.65
visitSubqueryMethod · 0.65

Tested by

no test coverage detected