Packages

trait FrameBuilder[FB <: FrameBuilder[FB]] extends AnyRef

Created by hollinwilkins on 10/5/17.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FrameBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def drop(names: String*): Try[FB]

    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

  2. abstract def filter(selectors: Selector*)(udf: UserDefinedFunction): Try[FB]

    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

  3. abstract def schema: StructType

    Get the schema.

    Get the schema.

    returns

    schema

  4. abstract def select(fieldNames: String*): Try[FB]

    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

  5. abstract def withColumn(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[FB]

    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

  6. abstract def withColumns(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[FB]

    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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def printSchema(out: PrintStream): Unit

    Print the schema to a PrintStream.

    Print the schema to a PrintStream.

    out

    print stream to print schema to

  15. def printSchema(): Unit

    Print the schema to standard output.

  16. def relaxedSelect(fieldNames: String*): FB

    Selects all of the fields from field names that exist in the leap frame.

    Selects all of the fields from field names that exist in the leap frame. Returns a new leap frame with all of the available fields.

    fieldNames

    fields to try and select

    returns

    leap frame with select fields

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def dropField(name: String): Try[FB]
    Annotations
    @deprecated
    Deprecated

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

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  3. def withField(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[FB]
    Annotations
    @deprecated
    Deprecated

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

  4. def withFields(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[FB]
    Annotations
    @deprecated
    Deprecated

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

  5. def withOutput(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[FB]
    Annotations
    @deprecated
    Deprecated

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

  6. def withOutputs(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[FB]
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped