GenericMutableSeries

class GenericMutableSeries(values: Array[Any]) extends MutableSeries
trait Serializable
trait Clearable
trait Series
class Object
trait Matchable
class Any

Value members

Constructors

protected def this()

No-arg constructor for serialization.

No-arg constructor for serialization.

def this(size: Int)

Concrete methods

override def copy(): GenericSeries
Definition Classes
override def get(i: Int): Any
Definition Classes
override def length: Int
Definition Classes
override def setNullAt(i: Int): Unit
Definition Classes
override def toSeq: Seq[Any]
Definition Classes
override def toSeries: Series
Definition Classes
override def update(i: Int, value: Any): Unit
Definition Classes

Inherited methods

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

Inherited from:
Series
def apply(i: Int): Any

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

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

Inherited from:
Series
override def clear(): Unit
Definition Classes
Inherited from:
MutableSeries
def columns: Array[String]
Inherited from:
Series
def fieldIndex(name: String): Int

Returns the index of a given field name.

Returns the index of a given field name.

Inherited from:
Series
def filter(filter: Seq[String]): Series
Inherited from:
Series
def getAs[T](fieldName: String): T

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

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

Throws:
ClassCastException

when data type does not match.

IllegalArgumentException

when fieldName do not exist.

UnsupportedOperationException

when schema is not defined.

Inherited from:
Series
def getAs[T](i: Int): T

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

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

Throws:
ClassCastException

when data type does not match.

Inherited from:
Series
def getBoolean(i: Int): Boolean
Inherited from:
Series
def getDouble(i: Int): Double
Inherited from:
Series
def getInt(i: Int): Int
Inherited from:
Series
def getLong(i: Int): Long
Inherited from:
Series
def getString(i: Int): String
Inherited from:
Series
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.

Inherited from:
Series
def isNullAt(i: Int): Boolean

Checks whether the value at position i is null.

Checks whether the value at position i is null.

Inherited from:
Series
def mkString(sep: String): String
Inherited from:
Series

Schema for the Series.

Schema for the Series.

Inherited from:
Series
def setBoolean(i: Int, value: Boolean): Unit
Inherited from:
MutableSeries
def setDouble(i: Int, value: Double): Unit
Inherited from:
MutableSeries
def setFloat(i: Int, value: Float): Unit
Inherited from:
MutableSeries
def setInt(i: Int, value: Int): Unit
Inherited from:
MutableSeries
def setLong(i: Int, value: Long): Unit
Inherited from:
MutableSeries
def show(): Unit
Inherited from:
Series
def size: Int

Number of elements in the Series.

Number of elements in the Series.

Inherited from:
Series
def toArray: Array[Any]
Inherited from:
Series
def toJavaMap: Map[String, Any]
Inherited from:
Series
def toJson(isObj: Boolean): JsValue
Inherited from:
Series
def toMap: Map[String, Any]
Inherited from:
Series
def toPairSeq: Seq[(String, Any)]
Inherited from:
Series
override def toString: String
Definition Classes
Series -> Any
Inherited from:
Series