Packages

c

org.apache.spark.sql

DatasetHolder

case class DatasetHolder[T] extends Product with Serializable

A container for a Dataset, used for implicit conversions in Scala.

To use this, import implicit conversions in SQL:

val spark: SparkSession = ...
import spark.implicits._
Annotations
@Stable()
Source
DatasetHolder.scala
Since

1.6.0

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatasetHolder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def toDF(colNames: String*): DataFrame
  2. def toDF(): DataFrame
  3. def toDS(): Dataset[T]