Dataframe, Datasets, Rdd.
DataFrame and Dataset from the RDD. val empDataFrame = empRDD.toDf() empDataFrame: org.apache.spark.sql.DataFrame = [name: string, age: int ... 2 more fields] val empDataset = empRDD.toDS() empDataset: org.apache.spark.sql.Dataset[Employ] = [name: string, age: int ... 2 more fields] we are now