org.pmml4s.transformations

DefineFunction

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
HasDataType, DataTypeLike, HasOpType, Function, PmmlElement, Serializable, Serializable, HasExtensions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefineFunction
  2. HasDataType
  3. DataTypeLike
  4. HasOpType
  5. Function
  6. PmmlElement
  7. Serializable
  8. Serializable
  9. HasExtensions
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. 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
  7. def apply(parameters: Any*): Any

    Definition Classes
    DefineFunctionFunction
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val dataType: DataType

    Returns the data type of field.

    Returns the data type of field.

    Definition Classes
    DefineFunctionDataTypeLike
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. val expr: Expression

  14. def extensions: Seq[Extension]

    Definition Classes
    HasExtensions
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def isCategorical: Boolean

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

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

    Definition Classes
    HasOpType
  20. def isContinuous: Boolean

    Tests whether this field is continuous.

    Tests whether this field is continuous.

    Definition Classes
    HasOpType
  21. def isDate: Boolean

    Definition Classes
    DataTypeLike
  22. def isDateTime: Boolean

    Definition Classes
    DataTypeLike
  23. def isDouble: Boolean

    Definition Classes
    DataTypeLike
  24. def isFloat: Boolean

    Definition Classes
    DataTypeLike
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isNominal: Boolean

    Tests whether this field is nominal.

    Tests whether this field is nominal.

    Definition Classes
    HasOpType
  27. def isNumeric: Boolean

    Definition Classes
    DataTypeLike
  28. def isOrdinal: Boolean

    Tests whether this field is ordinal.

    Tests whether this field is ordinal.

    Definition Classes
    HasOpType
  29. def isReal: Boolean

    Definition Classes
    DataTypeLike
  30. def isString: Boolean

    Definition Classes
    DataTypeLike
  31. def isTime: Boolean

    Definition Classes
    DataTypeLike
  32. def isTimestamp: Boolean

    Definition Classes
    DataTypeLike
  33. val name: String

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. val opType: OpType

    Operational type.

    Operational type.

    Definition Classes
    DefineFunctionHasOpType
  38. val parameterFields: Array[ParameterField]

  39. def scope: FieldScope

  40. def symbol: String

    Definition Classes
    DefineFunctionFunction
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    Function → AnyRef → Any
  43. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. 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 Serializable

Inherited from HasExtensions

Inherited from AnyRef

Inherited from Any

Ungrouped