trait Series extends AnyRef
Represents one series of output from a relational operator. Allows both generic access by ordinal, which will incur boxing overhead for primitives, as well as native primitive access.
It is invalid to use the native primitive interface to retrieve a value that is null, instead a
user must check isNullAt before attempting to retrieve a value that might be null.
- Alphabetic
- By Inheritance
- Series
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def anyMissing: Boolean
- def anyNull: Boolean
Returns true if there are any NULL values in this series.
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def columns: Array[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fieldIndex(name: String): Int
Returns the index of a given field name.
- def filter(filter: Seq[String]): Series
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- Exceptions thrown
ClassCastExceptionwhen data type does not match.IllegalArgumentExceptionwhen fieldName do not exist.UnsupportedOperationExceptionwhen schema is not defined.
- 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
- Exceptions thrown
ClassCastExceptionwhen data type does not match.
- def getBoolean(i: Int): Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDouble(i: Int): Double
- def getInt(i: Int): Int
- def getLong(i: Int): Long
- def getString(i: Int): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- def isNullAt(i: Int): Boolean
Checks whether the value at position i is null.
- def mkString(sep: String): String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def schema: StructType
Schema for the Series.
- def show(): Unit
- def size: Int
Number of elements in the Series.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toArray: Array[Any]
- def toJavaMap: Map[String, Any]
- def toJson(isObj: Boolean = true): JsValue
- def toMap: Map[String, Any]
- def toPairSeq: Seq[(String, Any)]
- def toSeq: Seq[Any]
- def toString(): String
- Definition Classes
- Series → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()