invoke
Selects column based on the column name and returns it as a TypedColumn.
For example:
dataset<_, Int>("a")
Content copied to clipboard
Selects column based on the column name and returns it as a Column.
Helper function to quickly get a TypedColumn (or Column) from a dataset in a refactor-safe manner.
val dataset: Dataset<YourClass> = ...
val columnA: TypedColumn<YourClass, TypeOfA> = dataset(YourClass::a)
Content copied to clipboard