Packages

class DefineFunction extends Function with HasOpType with HasDataType with PmmlElement

Defines new (user-defined) functions as variations or compositions of existing functions or transformations. The function's name must be unique and must not conflict with other function names, either defined by PMML or other user-defined functions. The EXPRESSION in the content of DefineFunction is the function body that actually defines the meaning of the new function. The function body must not refer to fields other than the parameter fields.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefineFunction
  2. HasDataType
  3. DataTypeLike
  4. HasOpType
  5. Function
  6. PmmlElement
  7. Serializable
  8. HasExtensions
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefineFunction(name: String, parameterFields: Array[ParameterField], expr: Expression, opType: OpType, dataType: DataType)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def accepts(other: DataType): Boolean

    Returns true if other is an acceptable input type for a function that expects this.

    Returns true if other is an acceptable input type for a function that expects this.

    Definition Classes
    DataTypeLike
  5. def apply(parameters: Any*): Any
    Definition Classes
    DefineFunctionFunction
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val dataType: DataType

    Returns the data type of field.

    Returns the data type of field.

    Definition Classes
    DefineFunctionDataTypeLike
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val expr: Expression
  12. def extensions: Seq[Extension]
    Definition Classes
    HasExtensions
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hasExtensions: Boolean
    Definition Classes
    HasExtensions
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def isCategorical: Boolean

    Tests whether this field is categorical (nominal or ordinal).

    Tests whether this field is categorical (nominal or ordinal).

    Definition Classes
    HasOpType
  18. def isContinuous: Boolean

    Tests whether this field is continuous.

    Tests whether this field is continuous.

    Definition Classes
    HasOpType
  19. def isDate: Boolean
    Definition Classes
    DataTypeLike
  20. def isDateTime: Boolean
    Definition Classes
    DataTypeLike
  21. def isDouble: Boolean
    Definition Classes
    DataTypeLike
  22. def isFloat: Boolean
    Definition Classes
    DataTypeLike
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isNominal: Boolean

    Tests whether this field is nominal.

    Tests whether this field is nominal.

    Definition Classes
    HasOpType
  25. def isNumeric: Boolean
    Definition Classes
    DataTypeLike
  26. def isOrdinal: Boolean

    Tests whether this field is ordinal.

    Tests whether this field is ordinal.

    Definition Classes
    HasOpType
  27. def isReal: Boolean
    Definition Classes
    DataTypeLike
  28. def isString: Boolean
    Definition Classes
    DataTypeLike
  29. def isTime: Boolean
    Definition Classes
    DataTypeLike
  30. def isTimestamp: Boolean
    Definition Classes
    DataTypeLike
  31. val name: String
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. val opType: OpType

    Operational type.

    Operational type.

    Definition Classes
    DefineFunctionHasOpType
  36. val parameterFields: Array[ParameterField]
  37. def scope: FieldScope
  38. def symbol: String
    Definition Classes
    DefineFunctionFunction
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    Function → AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def xSymbol: Option[String]
    Definition Classes
    Function

Inherited from HasDataType

Inherited from DataTypeLike

Inherited from HasOpType

Inherited from Function

Inherited from PmmlElement

Inherited from Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped