GenericDSeries

class GenericDSeries(val values: Array[Double]) extends DSeries
trait DSeries
trait Series
class Object
trait Matchable
class Any

Value members

Constructors

def this()
def this(size: Int)

Concrete methods

override def copy(): GenericDSeries
Definition Classes
override def get(i: Int): Double
Definition Classes
override def length: Int
Definition Classes
override def toSeq: Seq[Double]
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
override def apply(i: Int): Double
Definition Classes
Inherited from:
DSeries
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
override def isMissingAt(i: Int): Boolean
Definition Classes
Inherited from:
DSeries
override 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
Inherited from:
DSeries
def mkString(sep: String): String
Inherited from:
Series

Schema for the Series.

Schema for the Series.

Inherited from:
Series
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

Concrete fields

val values: Array[Double]