@@ -599,24 +599,24 @@ df.select { (colsOf<Int>() and age).distinct() }
599
599
600
600
### Column Resolvers
601
601
602
- ` ColumnResolver ` is the base type used to access columns within the ** Columns Selection DSL** ,
602
+ ` ColumnsResolver ` is the base type used to resolve columns within the ** Columns Selection DSL** ,
603
603
as well as the return type of columns selection expressions.
604
604
605
605
All functions described above for selecting columns in various ways return a ` ColumnResolver ` of a specific kind:
606
606
607
607
- ** ` SingleColumn ` ** — resolves to a single [ ` DataColumn ` ] ( DataColumn.md ) .
608
608
- ** ` ColumnAccessor ` ** — a specialized ` SingleColumn ` with a defined path and type argument.
609
609
It can also be renamed during selection.
610
- - ** ` ColumnPath ` ** — a wrapper for [ ` DataColumn ` ] ( DataColumn.md ) path
611
- in [ ` DataFrame ` ] ( DataFrame.md ) also can serve as a ` ColumnAccessor ` .
610
+ - ** ` ColumnPath ` ** — a wrapper for a [ ` DataColumn ` ] ( DataColumn.md ) path
611
+ in a [ ` DataFrame ` ] ( DataFrame.md ) also can serve as a ` ColumnAccessor ` .
612
612
``` kotlin
613
613
// Select all columns from the group by path "group2"/"info":
614
- df.select { pathOf(" group2" , " info" ).cols () }
614
+ df.select { pathOf(" group2" , " info" ).allCols () }
615
615
// For each selected column, place it under its ancestor group
616
616
// from two levels up in the column path hierarchy:
617
617
df.group { colsAtAnyDepth().colsOf<String >() }
618
618
.into { it.path.dropLast(2 ) }
619
619
```
620
- - ** ` ColumnSet ` ** — resolves to a list of [ ` DataColumn ` s] ( DataColumn.md ) .
620
+ - ** ` ColumnSet ` ** — resolves to an ordered list of [ ` DataColumn ` s] ( DataColumn.md ) .
621
621
622
622
0 commit comments