ml.combust.mleap.runtime

LeapFrame

trait LeapFrame[LF <: LeapFrame[LF]] extends TransformBuilder[LF] with Serializable

Trait for a LeapFrame implementation.

LF

self-referential type

Linear Supertypes
TransformBuilder[LF], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LeapFrame
  2. TransformBuilder
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def dataset: Dataset

    Get the dataset.

    Get the dataset.

    returns

    dataset

  2. abstract def lf: LF

    Get this as underlying implementation.

    Get this as underlying implementation.

    returns

    this as underlying implementation

    Attributes
    protected
  3. abstract def schema: StructType

    Get the schema.

    Get the schema.

    returns

    schema

  4. abstract def withSchemaAndDataset(schema: StructType, dataset: Dataset): LF

    Creates a new instance of this LeapFrame with new schema and dataset.

    Creates a new instance of this LeapFrame with new schema and dataset.

    schema

    new schema

    dataset

    new dataset

    returns

    new leap frame with schema and dataset

    Attributes
    protected

Concrete 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 dropField(name: String): Try[LF]

    Try to drop a field from the LeapFrame.

    Try to drop a field from the LeapFrame.

    Returns a Failure if the field does not exist.

    name

    name of field to drop

    returns

    try new LeapFrame with field dropped

  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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  18. def select(fieldNames: String*): Try[LF]

    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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withField(field: StructField)(f: (Row) ⇒ Any): Try[LF]

    Try to add a field to the LeapFrame.

    Try to add a field to the LeapFrame.

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

    field

    field to add

    f

    function for calculating field value

    returns

    try new LeapFrame with new field

  25. def withField(name: String, dataType: DataType)(f: (Row) ⇒ Any): Try[LF]

    Try to add a field to the LeapFrame.

    Try to add a field to the LeapFrame.

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

    name

    name of field

    dataType

    data type of field

    f

    function for calculating field value

    returns

    try new LeapFrame with new field

  26. def withFields(fields: Seq[StructField])(f: (Row) ⇒ Row): Try[LF]

    Try to add multiple fields to the LeapFrame.

    Try to add multiple fields to the LeapFrame.

    Returns a Failure if trying to add any existing fields.

    fields

    fields to add

    f

    function for calculating new field values

    returns

    try new LeapFrame with new fields

  27. def withFields(field: StructField, fields: StructField*)(f: (Row) ⇒ Row): Try[LF]

    Try to add multiple fields to the LeapFrame.

    Try to add multiple fields to the LeapFrame.

    Returns a Failure if trying to add any existing fields.

    field

    first field to add

    fields

    fields to add

    f

    function for calculating new field values

    returns

    try new LeapFrame with new fields

  28. def withInput(name: String, dataType: DataType): Try[(LF, Int)]

    Definition Classes
    LeapFrameTransformBuilder
  29. def withInput(name: String): Try[(LF, Int)]

    Definition Classes
    LeapFrameTransformBuilder
  30. def withOutput(name: String, dataType: DataType)(o: (Row) ⇒ Any): Try[LF]

    Definition Classes
    LeapFrameTransformBuilder
  31. def withOutputs(fields: Seq[StructField])(o: (Row) ⇒ Row): Try[LF]

    Definition Classes
    LeapFrameTransformBuilder

Inherited from TransformBuilder[LF]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped