org.pmml4s.data

GenericSeries

class GenericSeries extends Series

A series implementation that uses an array of objects as the underlying storage.

Linear Supertypes
Series, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenericSeries
  2. Series
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericSeries(size: Int)

  2. new GenericSeries()

  3. new GenericSeries(values: Array[Any])

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. def anyMissing: Boolean

    Definition Classes
    Series
  7. 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
  8. 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
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Definition Classes
    Series
  12. def copy(): GenericSeries

    Make a copy of the current Series object.

    Make a copy of the current Series object.

    Definition Classes
    GenericSeriesSeries
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Returns the index of a given field name.

    Returns the index of a given field name.

    Definition Classes
    Series
  16. def filter(filter: Seq[String]): Series

    Definition Classes
    Series
  17. 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
    GenericSeriesSeries
  18. 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.

  19. 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.

  20. def getBoolean(i: Int): Boolean

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

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def getDouble(i: Int): Double

    Definition Classes
    Series
  23. def getInt(i: Int): Int

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

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

    Definition Classes
    Series
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def isInstanceOf[T0]: Boolean

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

    Checks whether the value at position i is missing (null or Double.

    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
  29. 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
  30. def length: Int

    Number of elements in the Series.

    Number of elements in the Series.

    Definition Classes
    GenericSeriesSeries
  31. def mkString(sep: String): String

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

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. def schema: StructType

    Schema for the Series.

    Schema for the Series.

    Definition Classes
    Series
  36. def show(): Unit

    Definition Classes
    Series
  37. def size: Int

    Number of elements in the Series.

    Number of elements in the Series.

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

    Definition Classes
    AnyRef
  39. def toArray: Array[Any]

    Definition Classes
    GenericSeriesSeries
  40. def toJavaMap: Map[String, Any]

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

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

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

    Definition Classes
    Series
  44. def toSeq: Seq[Any]

    Definition Classes
    Series
  45. def toString(): String

    Definition Classes
    Series → AnyRef → Any
  46. val values: Array[Any]

  47. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Series

Inherited from AnyRef

Inherited from Any

Ungrouped