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.

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() @HotSpotIntrinsicCandidate()
  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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hasExtensions: Boolean
    Definition Classes
    HasExtensions
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def isCategorical: Boolean

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

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

    Definition Classes
    HasOpType
  17. def isContinuous: Boolean

    Tests whether this field is continuous.

    Tests whether this field is continuous.

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

    Tests whether this field is nominal.

    Tests whether this field is nominal.

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

    Tests whether this field is ordinal.

    Tests whether this field is ordinal.

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

    Operational type.

    Operational type.

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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