@@ -53,7 +53,7 @@ class UDFWrapper0(private val udfName: String) {
53
53
@OptIn(ExperimentalStdlibApi ::class )
54
54
@Deprecated(" Use new UDF notation" , ReplaceWith (" this.register(name, func)" ), DeprecationLevel .HIDDEN )
55
55
inline fun <reified R > UDFRegistration.register (name : String , noinline func : () -> R ): UDFWrapper0 {
56
- register(name, UDF0 (func), kotlinEncoderFor <R >().schema ())
56
+ register(name, UDF0 (func), schemaFor <R >())
57
57
return UDFWrapper0 (name)
58
58
}
59
59
@@ -78,7 +78,7 @@ class UDFWrapper1(private val udfName: String) {
78
78
@Deprecated(" Use new UDF notation" , ReplaceWith (" this.register(name, func)" ), DeprecationLevel .HIDDEN )
79
79
inline fun <reified T0 , reified R > UDFRegistration.register (name : String , noinline func : (T0 ) -> R ): UDFWrapper1 {
80
80
T0 ::class .checkForValidType(" T0" )
81
- register(name, UDF1 (func), kotlinEncoderFor <R >().schema ())
81
+ register(name, UDF1 (func), schemaFor <R >())
82
82
return UDFWrapper1 (name)
83
83
}
84
84
@@ -107,7 +107,7 @@ inline fun <reified T0, reified T1, reified R> UDFRegistration.register(
107
107
): UDFWrapper2 {
108
108
T0 ::class .checkForValidType(" T0" )
109
109
T1 ::class .checkForValidType(" T1" )
110
- register(name, UDF2 (func), kotlinEncoderFor <R >().schema ())
110
+ register(name, UDF2 (func), schemaFor <R >())
111
111
return UDFWrapper2 (name)
112
112
}
113
113
@@ -137,7 +137,7 @@ inline fun <reified T0, reified T1, reified T2, reified R> UDFRegistration.regis
137
137
T0 ::class .checkForValidType(" T0" )
138
138
T1 ::class .checkForValidType(" T1" )
139
139
T2 ::class .checkForValidType(" T2" )
140
- register(name, UDF3 (func), kotlinEncoderFor <R >().schema ())
140
+ register(name, UDF3 (func), schemaFor <R >())
141
141
return UDFWrapper3 (name)
142
142
}
143
143
@@ -168,7 +168,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified R> UDFRegist
168
168
T1 ::class .checkForValidType(" T1" )
169
169
T2 ::class .checkForValidType(" T2" )
170
170
T3 ::class .checkForValidType(" T3" )
171
- register(name, UDF4 (func), kotlinEncoderFor <R >().schema ())
171
+ register(name, UDF4 (func), schemaFor <R >())
172
172
return UDFWrapper4 (name)
173
173
}
174
174
@@ -200,7 +200,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
200
200
T2 ::class .checkForValidType(" T2" )
201
201
T3 ::class .checkForValidType(" T3" )
202
202
T4 ::class .checkForValidType(" T4" )
203
- register(name, UDF5 (func), kotlinEncoderFor <R >().schema ())
203
+ register(name, UDF5 (func), schemaFor <R >())
204
204
return UDFWrapper5 (name)
205
205
}
206
206
@@ -240,7 +240,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
240
240
T3 ::class .checkForValidType(" T3" )
241
241
T4 ::class .checkForValidType(" T4" )
242
242
T5 ::class .checkForValidType(" T5" )
243
- register(name, UDF6 (func), kotlinEncoderFor <R >().schema ())
243
+ register(name, UDF6 (func), schemaFor <R >())
244
244
return UDFWrapper6 (name)
245
245
}
246
246
@@ -282,7 +282,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
282
282
T4 ::class .checkForValidType(" T4" )
283
283
T5 ::class .checkForValidType(" T5" )
284
284
T6 ::class .checkForValidType(" T6" )
285
- register(name, UDF7 (func), kotlinEncoderFor <R >().schema ())
285
+ register(name, UDF7 (func), schemaFor <R >())
286
286
return UDFWrapper7 (name)
287
287
}
288
288
@@ -326,7 +326,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
326
326
T5 ::class .checkForValidType(" T5" )
327
327
T6 ::class .checkForValidType(" T6" )
328
328
T7 ::class .checkForValidType(" T7" )
329
- register(name, UDF8 (func), kotlinEncoderFor <R >().schema ())
329
+ register(name, UDF8 (func), schemaFor <R >())
330
330
return UDFWrapper8 (name)
331
331
}
332
332
@@ -372,7 +372,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
372
372
T6 ::class .checkForValidType(" T6" )
373
373
T7 ::class .checkForValidType(" T7" )
374
374
T8 ::class .checkForValidType(" T8" )
375
- register(name, UDF9 (func), kotlinEncoderFor <R >().schema ())
375
+ register(name, UDF9 (func), schemaFor <R >())
376
376
return UDFWrapper9 (name)
377
377
}
378
378
@@ -432,7 +432,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
432
432
T7 ::class .checkForValidType(" T7" )
433
433
T8 ::class .checkForValidType(" T8" )
434
434
T9 ::class .checkForValidType(" T9" )
435
- register(name, UDF10 (func), kotlinEncoderFor <R >().schema ())
435
+ register(name, UDF10 (func), schemaFor <R >())
436
436
return UDFWrapper10 (name)
437
437
}
438
438
@@ -495,7 +495,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
495
495
T8 ::class .checkForValidType(" T8" )
496
496
T9 ::class .checkForValidType(" T9" )
497
497
T10 ::class .checkForValidType(" T10" )
498
- register(name, UDF11 (func), kotlinEncoderFor <R >().schema ())
498
+ register(name, UDF11 (func), schemaFor <R >())
499
499
return UDFWrapper11 (name)
500
500
}
501
501
@@ -561,7 +561,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
561
561
T9 ::class .checkForValidType(" T9" )
562
562
T10 ::class .checkForValidType(" T10" )
563
563
T11 ::class .checkForValidType(" T11" )
564
- register(name, UDF12 (func), kotlinEncoderFor <R >().schema ())
564
+ register(name, UDF12 (func), schemaFor <R >())
565
565
return UDFWrapper12 (name)
566
566
}
567
567
@@ -630,7 +630,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
630
630
T10 ::class .checkForValidType(" T10" )
631
631
T11 ::class .checkForValidType(" T11" )
632
632
T12 ::class .checkForValidType(" T12" )
633
- register(name, UDF13 (func), kotlinEncoderFor <R >().schema ())
633
+ register(name, UDF13 (func), schemaFor <R >())
634
634
return UDFWrapper13 (name)
635
635
}
636
636
@@ -702,7 +702,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
702
702
T11 ::class .checkForValidType(" T11" )
703
703
T12 ::class .checkForValidType(" T12" )
704
704
T13 ::class .checkForValidType(" T13" )
705
- register(name, UDF14 (func), kotlinEncoderFor <R >().schema ())
705
+ register(name, UDF14 (func), schemaFor <R >())
706
706
return UDFWrapper14 (name)
707
707
}
708
708
@@ -777,7 +777,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
777
777
T12 ::class .checkForValidType(" T12" )
778
778
T13 ::class .checkForValidType(" T13" )
779
779
T14 ::class .checkForValidType(" T14" )
780
- register(name, UDF15 (func), kotlinEncoderFor <R >().schema ())
780
+ register(name, UDF15 (func), schemaFor <R >())
781
781
return UDFWrapper15 (name)
782
782
}
783
783
@@ -855,7 +855,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
855
855
T13 ::class .checkForValidType(" T13" )
856
856
T14 ::class .checkForValidType(" T14" )
857
857
T15 ::class .checkForValidType(" T15" )
858
- register(name, UDF16 (func), kotlinEncoderFor <R >().schema ())
858
+ register(name, UDF16 (func), schemaFor <R >())
859
859
return UDFWrapper16 (name)
860
860
}
861
861
@@ -936,7 +936,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
936
936
T14 ::class .checkForValidType(" T14" )
937
937
T15 ::class .checkForValidType(" T15" )
938
938
T16 ::class .checkForValidType(" T16" )
939
- register(name, UDF17 (func), kotlinEncoderFor <R >().schema ())
939
+ register(name, UDF17 (func), schemaFor <R >())
940
940
return UDFWrapper17 (name)
941
941
}
942
942
@@ -1020,7 +1020,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
1020
1020
T15 ::class .checkForValidType(" T15" )
1021
1021
T16 ::class .checkForValidType(" T16" )
1022
1022
T17 ::class .checkForValidType(" T17" )
1023
- register(name, UDF18 (func), kotlinEncoderFor <R >().schema ())
1023
+ register(name, UDF18 (func), schemaFor <R >())
1024
1024
return UDFWrapper18 (name)
1025
1025
}
1026
1026
@@ -1107,7 +1107,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
1107
1107
T16 ::class .checkForValidType(" T16" )
1108
1108
T17 ::class .checkForValidType(" T17" )
1109
1109
T18 ::class .checkForValidType(" T18" )
1110
- register(name, UDF19 (func), kotlinEncoderFor <R >().schema ())
1110
+ register(name, UDF19 (func), schemaFor <R >())
1111
1111
return UDFWrapper19 (name)
1112
1112
}
1113
1113
@@ -1197,7 +1197,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
1197
1197
T17 ::class .checkForValidType(" T17" )
1198
1198
T18 ::class .checkForValidType(" T18" )
1199
1199
T19 ::class .checkForValidType(" T19" )
1200
- register(name, UDF20 (func), kotlinEncoderFor <R >().schema ())
1200
+ register(name, UDF20 (func), schemaFor <R >())
1201
1201
return UDFWrapper20 (name)
1202
1202
}
1203
1203
@@ -1290,7 +1290,7 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
1290
1290
T18 ::class .checkForValidType(" T18" )
1291
1291
T19 ::class .checkForValidType(" T19" )
1292
1292
T20 ::class .checkForValidType(" T20" )
1293
- register(name, UDF21 (func), kotlinEncoderFor <R >().schema ())
1293
+ register(name, UDF21 (func), schemaFor <R >())
1294
1294
return UDFWrapper21 (name)
1295
1295
}
1296
1296
@@ -1386,6 +1386,6 @@ inline fun <reified T0, reified T1, reified T2, reified T3, reified T4, reified
1386
1386
T19 ::class .checkForValidType(" T19" )
1387
1387
T20 ::class .checkForValidType(" T20" )
1388
1388
T21 ::class .checkForValidType(" T21" )
1389
- register(name, UDF22 (func), kotlinEncoderFor <R >().schema ())
1389
+ register(name, UDF22 (func), schemaFor <R >())
1390
1390
return UDFWrapper22 (name)
1391
1391
}
0 commit comments