You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/colsOf.kt
+50Lines changed: 50 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,11 @@ public interface ColsOfColumnsSelectionDsl {
140
140
*
141
141
* This function operates solely on columns at the top-level.
142
142
*
143
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][colsOf]`<T?>()`.
144
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
145
+
* To exclude these columns, call `.`[filter][ColumnsSelectionDsl.filter]` { !it.`[allNulls][DataColumn.allNulls]`() }`
146
+
* after it.
147
+
*
143
148
* ### Check out: [Grammar]
144
149
*
145
150
* #### For example:
@@ -187,6 +192,11 @@ public interface ColsOfColumnsSelectionDsl {
187
192
*
188
193
* This function operates solely on columns at the top-level.
189
194
*
195
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
196
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
197
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -235,6 +245,11 @@ public interface ColsOfColumnsSelectionDsl {
235
245
*
236
246
* This function operates solely on columns at the top-level.
237
247
*
248
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
249
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
250
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -285,6 +300,11 @@ public interface ColsOfColumnsSelectionDsl {
285
300
*
286
301
* This function operates solely on columns at the top-level.
287
302
*
303
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
304
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
305
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -334,6 +354,11 @@ public interface ColsOfColumnsSelectionDsl {
334
354
*
335
355
* This function operates solely on columns at the top-level.
336
356
*
357
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
358
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
359
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -382,6 +407,11 @@ public fun <C> ColumnSet<*>.colsOf(type: KType, filter: ColumnFilter<C> = { true
382
407
*
383
408
* This function operates solely on columns at the top-level.
384
409
*
410
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
411
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
412
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -431,6 +461,11 @@ public inline fun <reified C> ColumnSet<*>.colsOf(noinline filter: ColumnFilter<
431
461
*
432
462
* This function operates solely on columns at the top-level.
433
463
*
464
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
465
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
466
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -477,6 +512,11 @@ public fun <C> ColumnsSelectionDsl<*>.colsOf(type: KType, filter: ColumnFilter<C
477
512
*
478
513
* This function operates solely on columns at the top-level.
479
514
*
515
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
516
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
517
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -525,6 +565,11 @@ public inline fun <reified C> ColumnsSelectionDsl<*>.colsOf(
525
565
*
526
566
* This function operates solely on columns at the top-level.
527
567
*
568
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
569
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
570
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
@@ -573,6 +618,11 @@ public fun <C> SingleColumn<DataRow<*>>.colsOf(type: KType, filter: ColumnFilter
573
618
*
574
619
* This function operates solely on columns at the top-level.
575
620
*
621
+
* __NOTE:__ Null-filled columns of type [Nothing?][Nothing] will be included when selecting [`colsOf`][org.jetbrains.kotlinx.dataframe.api.ColsOfColumnsSelectionDsl.colsOf]`<T?>()`.
622
+
* This is because [Nothing][Nothing] is considered a subtype of all other types in Kotlin.
623
+
* To exclude these columns, call `.`[filter][org.jetbrains.kotlinx.dataframe.api.FilterColumnsSelectionDsl.filter]` { !it.`[allNulls][org.jetbrains.kotlinx.dataframe.DataColumn.allNulls]`() }`
0 commit comments