typed
Provides a type hint about the expected return value of this column. This information can be used by operations such as select
on a Dataset to automatically convert the results into the correct JVM types.
val df: Dataset<Row> = ...
val typedColumn: Dataset<Int> = df.select( col("a").typed<_, Int>() )
Content copied to clipboard