Class

ml.combust.mleap.runtime

DefaultLeapFrame

Related Doc: package runtime

Permalink

case class DefaultLeapFrame(schema: StructType, dataset: Dataset) extends LeapFrame[DefaultLeapFrame] with Product with Serializable

Class for storing a leap frame locally.

schema

schema of leap frame

dataset

dataset of leap frame

Linear Supertypes
Product, Equals, LeapFrame[DefaultLeapFrame], TransformBuilder[DefaultLeapFrame], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultLeapFrame
  2. Product
  3. Equals
  4. LeapFrame
  5. TransformBuilder
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultLeapFrame(schema: StructType, dataset: Dataset)

    Permalink

    schema

    schema of leap frame

    dataset

    dataset of leap frame

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. val dataset: Dataset

    Permalink

    dataset of leap frame

    dataset of leap frame

    Definition Classes
    DefaultLeapFrameLeapFrame
  7. def dropField(name: String): Try[DefaultLeapFrame]

    Permalink

    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

    Definition Classes
    LeapFrame
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  12. def lf: DefaultLeapFrame

    Permalink

    Get this as underlying implementation.

    Get this as underlying implementation.

    returns

    this as underlying implementation

    Attributes
    protected
    Definition Classes
    DefaultLeapFrameLeapFrame
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. val schema: StructType

    Permalink

    schema of leap frame

    schema of leap frame

    Definition Classes
    DefaultLeapFrameLeapFrame
  17. def select(fieldNames: String*): Try[DefaultLeapFrame]

    Permalink

    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
    LeapFrame
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. final def wait(): Unit

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

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

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

    Permalink

    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

    Definition Classes
    LeapFrame
  23. def withField(name: String, dataType: DataType)(f: (Row) ⇒ Any): Try[DefaultLeapFrame]

    Permalink

    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

    Definition Classes
    LeapFrame
  24. def withFields(fields: Seq[StructField])(f: (Row) ⇒ Row): Try[DefaultLeapFrame]

    Permalink

    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

    Definition Classes
    LeapFrame
  25. def withFields(field: StructField, fields: StructField*)(f: (Row) ⇒ Row): Try[DefaultLeapFrame]

    Permalink

    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

    Definition Classes
    LeapFrame
  26. def withInput(name: String, dataType: DataType): Try[(DefaultLeapFrame, Int)]

    Permalink
    Definition Classes
    LeapFrameTransformBuilder
  27. def withInput(name: String): Try[(DefaultLeapFrame, Int)]

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

    Permalink
    Definition Classes
    LeapFrameTransformBuilder
  29. def withOutputs(fields: Seq[StructField])(o: (Row) ⇒ Row): Try[DefaultLeapFrame]

    Permalink
    Definition Classes
    LeapFrameTransformBuilder
  30. def withSchemaAndDataset(schema: StructType, dataset: Dataset): DefaultLeapFrame

    Permalink

    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
    Definition Classes
    DefaultLeapFrameLeapFrame

Inherited from Product

Inherited from Equals

Inherited from LeapFrame[DefaultLeapFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped