Class DatasetHolder<T>

Object
org.apache.spark.sql.DatasetHolder<T>
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class DatasetHolder<T> extends Object implements scala.Product, 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._
 

Since:
1.6.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    toDF(scala.collection.immutable.Seq<String> colNames)
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix