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

Method accept

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

Source from the content-addressed store, hash-verified

125 }
126
127 @Override
128 public final void accept(Context<?> ctx) {
129 switch (ctx.family()) {
130
131
132
133
134
135
136
137
138
139 case H2:
140 case HSQLDB:
141 case POSTGRES:
142 case YUGABYTEDB:
143 ctx.visit(arrayTransform(ctx, array, predicate.$arg1(), predicate.$arg1(), predicate.$result()).asField());
144 break;
145
146
147 case DUCKDB:
148 ctx.visit(function(N_ARRAY_FILTER, getDataType(), array, DSL.field("{0}", OTHER, predicate)));
149 break;
150
151 case CLICKHOUSE:
152 ctx.visit(DSL.function(N_arrayFilter, getDataType(), DSL.field("{0}", OTHER, predicate), array));
153 break;
154
155
156 case TRINO:
157 ctx.visit(function(N_FILTER, getDataType(), array, DSL.field("{0}", OTHER, predicate)));
158 break;
159
160 default:
161 ctx.visit(function(N_ARRAY_FILTER, getDataType(), array, DSL.field("{0}", OTHER, predicate)));
162 break;
163 }
164 }
165
166
167

Callers

nothing calls this directly

Calls 9

functionMethod · 0.95
fieldMethod · 0.95
arrayTransformMethod · 0.80
familyMethod · 0.65
visitMethod · 0.65
asFieldMethod · 0.65
$arg1Method · 0.65
$resultMethod · 0.65
getDataTypeMethod · 0.65

Tested by

no test coverage detected