User: Extract from the text the method encouraged to use in Apache Spark.
Assistant: Dataset API