File tree Expand file tree Collapse file tree
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
5959 * @throws [IllegalArgumentException] if the column is not found.
6060 * @return The [DataColumn] this [ColumnPath] points to.
6161 */
62+ @Interpretable(" ColumnPathInvokeTyped" )
6263 public operator fun <C > ColumnPath.invoke (): DataColumn <C > = getColumn(this ).cast()
6364
6465 /* *
@@ -205,12 +206,14 @@ public interface ColumnSelectionDsl<out T> : ColumnsContainer<T> {
205206 * "myColumn"["myNestedColumn"]["myDoublyNestedColumn"]<NestedColumnType>()
206207 * ```
207208 */
209+ @Interpretable(" StringGetColumn" )
208210 public operator fun String.get (column : String ): ColumnPath = pathOf(this , column)
209211
210212 /* *
211213 * As extension to `"myColumn"["myNestedColumn"]`, this function enables
212214 * `"myColumn"["myNestedColumn"]["myDoublyNestedColumn"]` as alternative to
213215 * [pathOf]`("myColumn", "myNestedColumn", "myDoublyNestedColumn")`
214216 */
217+ @Interpretable(" ColumnPathGetColumn" )
215218 public operator fun ColumnPath.get (column : String ): ColumnPath = this + column
216219}
You can’t perform that action at this time.
0 commit comments