org.apache.spark.h2o.converters

SparkDataFrameConverter

trait SparkDataFrameConverter extends Logging with ConverterUtils

Linear Supertypes
ConverterUtils, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparkDataFrameConverter
  2. ConverterUtils
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convert[T](hc: H2OContext, rdd: RDD[T], keyName: String, colNames: Array[String], vecTypes: Array[Byte], func: (String, Array[Byte], Option[Map[Int, NodeDesc]]) ⇒ (TaskContext, Iterator[T]) ⇒ (Int, Long)): water.fvec.H2OFrame

    Converts the RDD to H2O Frame using specified conversion function

    Converts the RDD to H2O Frame using specified conversion function

    T

    type of RDD to convert

    hc

    H2O context

    rdd

    rdd to convert

    keyName

    key of the resulting frame

    colNames

    names of the columns in the H2O Frame

    vecTypes

    types of the vectors in the H2O Frame

    func

    conversion function - the function takes parameters needed extra by specific transformations and returns function which does the general transformation

    returns

    H2O Frame

    Definition Classes
    ConverterUtils
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def finalizeFrame[T](keyName: String, res: Array[Long], colTypes: Array[Byte], colDomains: Array[Array[String]] = null): Frame

    Definition Classes
    ConverterUtils
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getFrameOrNone(keyName: String): Option[H2OFrame]

    Gets frame for specified key or none if that frame does not exist

    Gets frame for specified key or none if that frame does not exist

    keyName

    key of the requested frame

    returns

    option containing frame or none

    Definition Classes
    ConverterUtils
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def initFrame[T](keyName: String, names: Array[String]): Unit

    Definition Classes
    ConverterUtils
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  19. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toDataFrame[T <: water.fvec.Frame](hc: H2OContext, fr: T, copyMetadata: Boolean)(implicit sqlContext: SQLContext): DataFrame

    Create a Spark DataFrame from given H2O frame.

    Create a Spark DataFrame from given H2O frame.

    T

    type of H2O frame

    hc

    an instance of H2O context

    fr

    an instance of H2O frame

    copyMetadata

    copy H2O metadata into Spark DataFrame

    sqlContext

    running sqlContext

    returns

    a new DataFrame definition using given H2OFrame as data source

  36. def toH2OFrame(hc: H2OContext, dataFrame: DataFrame, frameKeyName: Option[String]): water.fvec.H2OFrame

    Transform Spark's DataFrame into H2O Frame

  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConverterUtils

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped