Constant

class Constant(val value: Any, val dataType: Option[DataType], val missing: Boolean) extends LeafExpression

Constant values can be used in expressions which have multiple arguments. . The actual value of a constant is given by the content of the element. For example, 1.05 represents the number 1.05. The dataType of Constant can be optionally specified.

trait Evaluator
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def eval(series: Series): Any
Definition Classes
override def getDataField: Option[Field]
Definition Classes

Inherited methods

def categories: Array[Any]
Inherited from:
Expression
final override def children: Array[Expression]
Definition Classes
Inherited from:
LeafExpression
def deeval(value: Any): Any
Inherited from:
Expression
def eval(value: Any): Any
Inherited from:
Expression
Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val dataType: Option[DataType]
val missing: Boolean
val value: Any