ml.combust.mleap.runtime.frame

RowTransformer

case class RowTransformer extends FrameBuilder[RowTransformer] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, FrameBuilder[RowTransformer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RowTransformer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FrameBuilder
  7. AnyRef
  8. 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. val availableIndices: List[Int]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def drop(names: String*): Try[RowTransformer]

    Try dropping column(s) from the LeapFrame.

    Try dropping column(s) from the LeapFrame.

    Returns a Failure if the column does not exist.

    names

    names of columns to drop

    returns

    LeapFrame with column(s) dropped

    Definition Classes
    RowTransformerFrameBuilder
  10. def ensureAvailableIndices(numAvailable: Int): RowTransformer

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def filter(selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Try filtering the leap frame using the UDF

    Try filtering the leap frame using the UDF

    selectors

    row selectors used as inputs for the filter

    udf

    filter udf, must return a Boolean

    returns

    LeapFrame with rows filtered

    Definition Classes
    RowTransformerFrameBuilder
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. val indices: Seq[Int]

  16. val inputSchema: StructType

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val maxSize: Int

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. val outputSchema: StructType

  23. def printSchema(out: PrintStream): Unit

    Print the schema to a PrintStream.

    Print the schema to a PrintStream.

    out

    print stream to print schema to

    Definition Classes
    FrameBuilder
  24. def printSchema(): Unit

    Print the schema to standard output.

    Print the schema to standard output.

    Definition Classes
    FrameBuilder
  25. def schema: StructType

    Get the schema.

    Get the schema.

    returns

    schema

    Definition Classes
    RowTransformerFrameBuilder
  26. def select(fieldNames: String*): Try[RowTransformer]

    Try to select fields to create a new LeapFrame.

    Try to select fields to create a new LeapFrame.

    Returns a Failure if attempting to select any fields that don't exist.

    fieldNames

    field names to select

    returns

    try new LeapFrame with selected fields

    Definition Classes
    RowTransformerFrameBuilder
  27. val shuffled: Boolean

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def transform(row: Row): Row

  30. def transformOption(row: Row): Option[ArrayRow]

    Transform an input row with the predetermined schema.

    Transform an input row with the predetermined schema.

    row

    row to transform

    returns

    transformed row, or None if filtered

  31. val transforms: Seq[(ArrayRow) ⇒ Option[ArrayRow]]

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withColumn(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Try to add a column to the LeapFrame.

    Try to add a column to the LeapFrame.

    Returns a Failure if trying to add a field that already exists.

    name

    name of column

    selectors

    row selectors used to generate inputs to udf

    udf

    user defined function for calculating column value

    returns

    LeapFrame with new column

    Definition Classes
    RowTransformerFrameBuilder
  36. def withColumnUnsafe(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

  37. def withColumns(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Try to add multiple columns to the LeapFrame.

    Try to add multiple columns to the LeapFrame.

    Returns a Failure if trying to add a field that already exists.

    names

    names of columns

    selectors

    row selectors used to generate inputs to udf

    udf

    user defined function for calculating column values

    returns

    LeapFrame with new columns

    Definition Classes
    RowTransformerFrameBuilder
  38. def withColumnsUnsafe(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

Deprecated Value Members

  1. def dropField(name: String): Try[RowTransformer]

    Definition Classes
    FrameBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version MLeap 0.9.0) this method will be removed for version 1.0, use #drop

  2. def withField(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Definition Classes
    FrameBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version MLeap 0.9.0) this method will be removed for version 1.0, use #withColumn

  3. def withFields(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Definition Classes
    FrameBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version MLeap 0.9.0) this method will be removed for version 1.0, use #withColumns

  4. def withOutput(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Definition Classes
    FrameBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version MLeap 0.9.0) this method will be removed for version 1.0, use #withColumn

  5. def withOutputs(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[RowTransformer]

    Definition Classes
    FrameBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version MLeap 0.9.0) this method will be removed for version 1.0, use #withColumns

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FrameBuilder[RowTransformer]

Inherited from AnyRef

Inherited from Any

Ungrouped