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
    @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hasExtensions: Boolean

    Definition Classes
    HasExtensions
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def isCategorical: Boolean

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

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

    Definition Classes
    HasOpType
  19. def isContinuous: Boolean

    Tests whether this field is continuous.

    Tests whether this field is continuous.

    Definition Classes
    HasOpType
  20. def isDate: Boolean

    Definition Classes
    DataTypeLike
  21. def isDateTime: Boolean

    Definition Classes
    DataTypeLike
  22. def isDouble: Boolean

    Definition Classes
    DataTypeLike
  23. def isFloat: Boolean

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

    Definition Classes
    Any
  25. def isNominal: Boolean

    Tests whether this field is nominal.

    Tests whether this field is nominal.

    Definition Classes
    HasOpType
  26. def isNumeric: Boolean

    Definition Classes
    DataTypeLike
  27. def isOrdinal: Boolean

    Tests whether this field is ordinal.

    Tests whether this field is ordinal.

    Definition Classes
    HasOpType
  28. def isReal: Boolean

    Definition Classes
    DataTypeLike
  29. def isString: Boolean

    Definition Classes
    DataTypeLike
  30. def isTime: Boolean

    Definition Classes
    DataTypeLike
  31. def isTimestamp: Boolean

    Definition Classes
    DataTypeLike
  32. val name: String

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

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

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. val opType: OpType

    Operational type.

    Operational type.

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

  38. def scope: FieldScope

  39. def symbol: String

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

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    Function → AnyRef → Any
  42. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def xSymbol: Option[String]

    Definition Classes
    Function

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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