Skip to content

Commit 7977ff5

Browse files
ColumnResolver docs fixes
1 parent 61806b4 commit 7977ff5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/StardustDocs/topics/ColumnSelectors.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,24 +599,24 @@ df.select { (colsOf<Int>() and age).distinct() }
599599

600600
### Column Resolvers
601601

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**,
603603
as well as the return type of columns selection expressions.
604604

605605
All functions described above for selecting columns in various ways return a `ColumnResolver` of a specific kind:
606606

607607
- **`SingleColumn`** — resolves to a single [`DataColumn`](DataColumn.md).
608608
- **`ColumnAccessor`** — a specialized `SingleColumn` with a defined path and type argument.
609609
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`.
612612
```kotlin
613613
// Select all columns from the group by path "group2"/"info":
614-
df.select { pathOf("group2", "info").cols() }
614+
df.select { pathOf("group2", "info").allCols() }
615615
// For each selected column, place it under its ancestor group
616616
// from two levels up in the column path hierarchy:
617617
df.group { colsAtAnyDepth().colsOf<String>() }
618618
.into { it.path.dropLast(2) }
619619
```
620-
- **`ColumnSet`** — resolves to a list of [`DataColumn`s](DataColumn.md).
620+
- **`ColumnSet`** — resolves to an ordered list of [`DataColumn`s](DataColumn.md).
621621

622622

0 commit comments

Comments
 (0)