Class

ml.combust.mleap.runtime

ArrayRow

Related Doc: package runtime

Permalink

case class ArrayRow(values: Array[Any]) extends Row with Product with Serializable

Class for holding Row values in an array.

values

array of values in row

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

Instance Constructors

  1. new ArrayRow(values: Array[Any])

    Permalink

    values

    array of values in row

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): Any

    Permalink

    Get value at index.

    Get value at index.

    Alias for Row#get

    index

    index of value

    returns

    value at index

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

    Permalink

    Drop value at specified index.

    Drop value at specified index.

    index

    index of value to drop

    returns

    new row without specified value

    Definition Classes
    ArrayRowRow
  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. def get(index: Int): Any

    Permalink

    Get value at index.

    Get value at index.

    index

    index of value

    returns

    value at index

    Definition Classes
    ArrayRowRow
  11. def getArray[T](index: Int): Array[T]

    Permalink

    Get value at index as an array.

    Get value at index as an array.

    T

    inner type of the array

    index

    index of value

    returns

    array value

    Definition Classes
    Row
  12. def getAs[T](index: Int): T

    Permalink

    Get value at index as specified type.

    Get value at index as specified type.

    T

    type of value

    index

    index of value

    returns

    value at index cast to given type

    Definition Classes
    Row
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getDouble(index: Int): Double

    Permalink

    Get value at index as a double.

    Get value at index as a double.

    index

    index of value

    returns

    double value

    Definition Classes
    Row
  15. def getInt(index: Int): Int

    Permalink

    Get value at index as an int.

    Get value at index as an int.

    index

    index of value

    returns

    int value

    Definition Classes
    Row
  16. def getLong(index: Int): Long

    Permalink

    Get value at index as a long.

    Get value at index as a long.

    index

    index of value

    returns

    long value

    Definition Classes
    Row
  17. def getString(index: Int): String

    Permalink

    Get value at index as a string.

    Get value at index as a string.

    index

    index of value

    returns

    string value

    Definition Classes
    Row
  18. def getVector(index: Int): Vector

    Permalink

    Get value at index as a vector.

    Get value at index as a vector.

    index

    index of value

    returns

    vector value

    Definition Classes
    Row
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    Row
  21. def mkString(sep: String): String

    Permalink
    Definition Classes
    Row
  22. def mkString: String

    Permalink
    Definition Classes
    Row
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def selectIndices(indices: Int*): Row

    Permalink

    Create a new row from specified indices.

    Create a new row from specified indices.

    indices

    indices to create new row with

    returns

    new row with only selected values

    Definition Classes
    ArrayRowRow
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toArray: Array[Any]

    Permalink

    Convert row to an array of values.

    Convert row to an array of values.

    returns

    array of values from row

    Definition Classes
    ArrayRowRow
  29. def toSeq: Seq[Any]

    Permalink

    Convert row to a seq of values.

    Convert row to a seq of values.

    returns

    seq of values from row

    Definition Classes
    ArrayRowRow
  30. def toString(): String

    Permalink
    Definition Classes
    Row → AnyRef → Any
  31. val values: Array[Any]

    Permalink

    array of values in row

  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withValue(value: Any): Row

    Permalink

    Add a value to the row.

    Add a value to the row.

    value

    value to add

    returns

    row with the new value

    Definition Classes
    ArrayRowRow
  36. def withValue(selectors: RowSelector*)(udf: UserDefinedFunction): Row

    Permalink

    Add value to row with a user defined function.

    Add value to row with a user defined function.

    selectors

    row selectors to generate inputs to function

    udf

    user defined function to call

    returns

    row with calculated value added

    Definition Classes
    Row

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Row

Inherited from AnyRef

Inherited from Any

Ungrouped