Class

ml.combust.mleap.runtime

LocalDataset

Related Doc: package runtime

Permalink

case class LocalDataset(data: Array[Row]) extends Dataset with Product with Serializable

Class for holding local data as a ml.combust.mleap.runtime.Dataset.

data

array of row data

Linear Supertypes
Product, Equals, Dataset, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalDataset
  2. Product
  3. Equals
  4. Dataset
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalDataset(data: Array[Row])

    Permalink

    data

    array of row data

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. def apply(index: Int): Row

    Permalink

    Get a row at a given index.

    Get a row at a given index.

    index

    index of row

    returns

    row at index

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val data: Array[Row]

    Permalink

    array of row data

  8. def dropIndex(index: Int): Dataset

    Permalink

    Drop an index of every row.

    Drop an index of every row.

    index

    index to drop

    returns

    dataset without index

    Definition Classes
    Dataset
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  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. def selectIndices(indices: Int*): Dataset

    Permalink

    Select given indices of every row.

    Select given indices of every row.

    indices

    indices to select

    returns

    dataset with only selected indices

    Definition Classes
    Dataset
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toArray: Array[Row]

    Permalink

    Convert dataset to an array of rows.

    Convert dataset to an array of rows.

    returns

    array of rows

    Definition Classes
    LocalDatasetDataset
  19. def toLocal: LocalDataset

    Permalink

    Convert dataset to a local dataset.

    Convert dataset to a local dataset.

    returns

    local dataset

    Definition Classes
    LocalDatasetDataset
  20. def update(f: (Row) ⇒ Row): LocalDataset

    Permalink

    Update all rows in the dataset.

    Update all rows in the dataset.

    f

    update function

    returns

    dataset with updated rows

    Definition Classes
    LocalDatasetDataset
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withValue(selectors: RowSelector*)(udf: UserDefinedFunction): Dataset

    Permalink

    Add a value to every row using a user defined function.

    Add a value to every row using a user defined function.

    selectors

    row selectors to generate inputs to UDF

    udf

    user defined function

    returns

    dataset with value calculated for all rows

    Definition Classes
    Dataset

Inherited from Product

Inherited from Equals

Inherited from Dataset

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped