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

Method accept

jOOQ/src/main/java/org/jooq/impl/ArrayMap.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, mapper.$arg1(), mapper.$result(), noCondition()).asField());
144 break;
145
146
147 case DUCKDB:
148 ctx.visit(function(N_ARRAY_TRANSFORM, getDataType(), array, DSL.field("{0}", OTHER, mapper)));
149 break;
150
151 case CLICKHOUSE:
152 ctx.visit(DSL.function(N_arrayMap, getDataType(), DSL.field("{0}", OTHER, mapper), array));
153 break;
154
155
156 case TRINO:
157 ctx.visit(function(N_TRANSFORM, getDataType(), array, DSL.field("{0}", OTHER, mapper)));
158 break;
159
160 default:
161 ctx.visit(function(N_ARRAY_MAP, getDataType(), array, DSL.field("{0}", OTHER, mapper)));
162 break;
163 }
164 }
165
166
167

Callers

nothing calls this directly

Calls 10

functionMethod · 0.95
fieldMethod · 0.95
arrayTransformMethod · 0.80
noConditionMethod · 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