Trait

org.pmml4s.data

MutableSeries

Related Doc: package data

Permalink

trait MutableSeries extends Series with Clearable

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

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

Abstract Value Members

  1. abstract def copy(): Series

    Permalink

    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

    Permalink

    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

    Permalink

    Number of elements in the Series.

    Number of elements in the Series.

    Definition Classes
    Series
  4. abstract def setNullAt(i: Int): Unit

    Permalink
  5. abstract def toSeries: Series

    Permalink
  6. abstract def update(i: Int, value: Any): Unit

    Permalink

Concrete 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 anyMissing: Boolean

    Permalink
    Definition Classes
    Series
  5. def anyNull: Boolean

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  8. def clear(): Unit

    Permalink
    Definition Classes
    MutableSeriesClearable
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def columns: Array[String]

    Permalink
    Definition Classes
    Series
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def fieldIndex(name: String): Int

    Permalink

    Returns the index of a given field name.

    Returns the index of a given field name.

    Definition Classes
    Series
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getAs[T](fieldName: String): T

    Permalink

    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.

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

    Permalink

    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.

  17. def getBoolean(i: Int): Boolean

    Permalink
    Definition Classes
    Series
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDouble(i: Int): Double

    Permalink
    Definition Classes
    Series
  20. def getInt(i: Int): Int

    Permalink
    Definition Classes
    Series
  21. def getLong(i: Int): Long

    Permalink
    Definition Classes
    Series
  22. def getString(i: Int): String

    Permalink
    Definition Classes
    Series
  23. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  25. def isMissingAt(i: Int): Boolean

    Permalink

    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
  26. def isNullAt(i: Int): Boolean

    Permalink

    Checks whether the value at position i is null.

    Checks whether the value at position i is null.

    Definition Classes
    Series
  27. def mkString(sep: String): String

    Permalink
    Definition Classes
    Series
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def schema: StructType

    Permalink

    Schema for the Series.

    Schema for the Series.

    Definition Classes
    Series
  32. def setBoolean(i: Int, value: Boolean): Unit

    Permalink
  33. def setDouble(i: Int, value: Double): Unit

    Permalink
  34. def setFloat(i: Int, value: Float): Unit

    Permalink
  35. def setInt(i: Int, value: Int): Unit

    Permalink
  36. def setLong(i: Int, value: Long): Unit

    Permalink
  37. def show(): Unit

    Permalink
    Definition Classes
    Series
  38. def size: Int

    Permalink

    Number of elements in the Series.

    Number of elements in the Series.

    Definition Classes
    Series
  39. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Series
  41. def toJavaMap: Map[String, Any]

    Permalink
    Definition Classes
    Series
  42. def toJson(isObj: Boolean = true): JsValue

    Permalink
    Definition Classes
    Series
  43. def toMap: Map[String, Any]

    Permalink
    Definition Classes
    Series
  44. def toPairSeq: Seq[(String, Any)]

    Permalink
    Definition Classes
    Series
  45. def toSeq: Seq[Any]

    Permalink
    Definition Classes
    Series
  46. def toString(): String

    Permalink
    Definition Classes
    Series → AnyRef → Any
  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Clearable

Inherited from Series

Inherited from AnyRef

Inherited from Any

Ungrouped