ml.combust.mleap.runtime

DefaultLeapFrame

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    schema

    schema of leap frame

    dataset

    dataset of leap frame

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

    dataset of leap frame

    dataset of leap frame

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

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

    Definition Classes
    AnyRef
  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. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def lf: DefaultLeapFrame

    Get this as underlying implementation.

    Get this as underlying implementation.

    returns

    this as underlying implementation

    Attributes
    protected
    Definition Classes
    DefaultLeapFrameLeapFrame
  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 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
    LeapFrame
  19. def printSchema(): Unit

    Print the schema to standard output.

    Print the schema to standard output.

    Definition Classes
    LeapFrame
  20. val schema: StructType

    schema of leap frame

    schema of leap frame

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

    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
  22. def show(out: PrintStream, n: Int): Unit

    Print this leap frame to a PrintStream.

    Print this leap frame to a PrintStream.

    out

    stream to print to

    n

    number of rows to show

    Definition Classes
    LeapFrame
  23. def show(n: Int): Unit

    Print this leap frame to standard out.

    Print this leap frame to standard out.

    n

    number of rows to display

    Definition Classes
    LeapFrame
  24. def show(out: PrintStream): Unit

    Print this leap frame to a PrintStream.

    Print this leap frame to a PrintStream.

    out

    stream to print to

    Definition Classes
    LeapFrame
  25. def show(): Unit

    Print this leap frame to standard out.

    Print this leap frame to standard out.

    Definition Classes
    LeapFrame
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withField(name: String, selectors: Selector*)(udf: UserDefinedFunction): Try[DefaultLeapFrame]

    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

    selectors

    row selectors used to generate inputs to udf

    udf

    user defined function for calculating field value

    returns

    try new LeapFrame with new field

    Definition Classes
    LeapFrame
  31. def withFields(names: Seq[String], selectors: Selector*)(udf: UserDefinedFunction): Try[DefaultLeapFrame]

    Definition Classes
    LeapFrame
  32. def withOutput(output: String, inputs: Selector*)(udf: UserDefinedFunction): Try[DefaultLeapFrame]

    Definition Classes
    LeapFrameTransformBuilder
  33. def withOutputs(outputs: Seq[String], inputs: Selector*)(udf: UserDefinedFunction): Try[DefaultLeapFrame]

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

    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
  35. def writer(format: String = BuiltinFormats.json)(implicit ct: ClassTag[DefaultLeapFrame]): FrameWriter

    Definition Classes
    LeapFrame

Inherited from Product

Inherited from Equals

Inherited from LeapFrame[DefaultLeapFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped