Packages

t

org.pmml4s.data

MutableSeries

trait MutableSeries extends Series with Clearable with Serializable

A basic trait allows the values for each column to be updated.

Linear Supertypes
Serializable, Clearable, Series, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableSeries
  2. Serializable
  3. Clearable
  4. Series
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def copy(): Series

    Make a copy of the current Series object.

    Make a copy of the current Series object.

    Definition Classes
    Series
  2. abstract def get(i: Int): Any

    Returns the value at position i.

    Returns the value at position i. If the value is null, null is returned.

    Definition Classes
    Series
  3. abstract def length: Int

    Number of elements in the Series.

    Number of elements in the Series.

    Definition Classes
    Series
  4. abstract def setNullAt(i: Int): Unit
  5. abstract def toSeries: Series
  6. abstract def update(i: Int, value: Any): Unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def anyMissing: Boolean
    Definition Classes
    Series
  5. def anyNull: Boolean

    Returns true if there are any NULL values in this series.

    Returns true if there are any NULL values in this series.

    Definition Classes
    Series
  6. def apply(i: Int): Any

    Returns the value at position i.

    Returns the value at position i. If the value is null, null is returned.

    Definition Classes
    Series
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clear(): Unit
    Definition Classes
    MutableSeriesClearable
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def columns: Array[String]
    Definition Classes
    Series
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def fieldIndex(name: String): Int

    Returns the index of a given field name.

    Returns the index of a given field name.

    Definition Classes
    Series
  14. def filter(filter: Seq[String]): Series
    Definition Classes
    Series
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getAs[T](fieldName: String): T

    Returns the value of a given fieldName.

    Returns the value of a given fieldName. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null

    Definition Classes
    Series
    Exceptions thrown

    ClassCastException when data type does not match.

    IllegalArgumentException when fieldName do not exist.

    UnsupportedOperationException when schema is not defined.

  17. def getAs[T](i: Int): T

    Returns the value at position i.

    Returns the value at position i. For primitive types if value is null it returns 'zero value' specific for primitive ie. 0 for Int - use isNullAt to ensure that value is not null

    Definition Classes
    Series
    Exceptions thrown

    ClassCastException when data type does not match.

  18. def getBoolean(i: Int): Boolean
    Definition Classes
    Series
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getDouble(i: Int): Double
    Definition Classes
    Series
  21. def getInt(i: Int): Int
    Definition Classes
    Series
  22. def getLong(i: Int): Long
    Definition Classes
    Series
  23. def getString(i: Int): String
    Definition Classes
    Series
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isMissingAt(i: Int): Boolean

    Checks whether the value at position i is missing (null or Double.NaN) if the position is valid, otherwise treated as missing too.

    Checks whether the value at position i is missing (null or Double.NaN) if the position is valid, otherwise treated as missing too.

    Definition Classes
    Series
  27. def isNullAt(i: Int): Boolean

    Checks whether the value at position i is null.

    Checks whether the value at position i is null.

    Definition Classes
    Series
  28. def mkString(sep: String): String
    Definition Classes
    Series
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def schema: StructType

    Schema for the Series.

    Schema for the Series.

    Definition Classes
    Series
  33. def setBoolean(i: Int, value: Boolean): Unit
  34. def setDouble(i: Int, value: Double): Unit
  35. def setFloat(i: Int, value: Float): Unit
  36. def setInt(i: Int, value: Int): Unit
  37. def setLong(i: Int, value: Long): Unit
  38. def show(): Unit
    Definition Classes
    Series
  39. def size: Int

    Number of elements in the Series.

    Number of elements in the Series.

    Definition Classes
    Series
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toArray: Array[Any]
    Definition Classes
    Series
  42. def toJavaMap: Map[String, Any]
    Definition Classes
    Series
  43. def toJson(isObj: Boolean = true): JsValue
    Definition Classes
    Series
  44. def toMap: Map[String, Any]
    Definition Classes
    Series
  45. def toPairSeq: Seq[(String, Any)]
    Definition Classes
    Series
  46. def toSeq: Seq[Any]
    Definition Classes
    Series
  47. def toString(): String
    Definition Classes
    Series → AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Clearable

Inherited from Series

Inherited from AnyRef

Inherited from Any

Ungrouped