Trait/Object

org.apache.spark.h2o.converters

SparkDataFrameConverter

Related Docs: object SparkDataFrameConverter | package converters

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convert[T](hc: H2OContext, rdd: RDD[T], keyName: String, colNames: Array[String], vecTypes: Array[Byte], func: ConversionFunction[T]): water.fvec.H2OFrame

    Permalink

    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
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    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
  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    ConverterUtils
  15. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. def log: Logger

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logName: String

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

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

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

    Permalink

    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

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

    Permalink

    Transform Spark's DataFrame into H2O Frame

  36. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConverterUtils

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped