Class

org.pmml4s.transformations

DefineFunction

Related Doc: package transformations

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accepts(other: DataType): Boolean

    Permalink

    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

    Permalink
    Definition Classes
    DefineFunctionFunction
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Permalink

    Returns the data type of field.

    Returns the data type of field.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val expr: Expression

    Permalink
  12. def extensions: Seq[Extension]

    Permalink
    Definition Classes
    HasExtensions
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasExtensions: Boolean

    Permalink
    Definition Classes
    HasExtensions
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def isCategorical: Boolean

    Permalink

    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

    Permalink

    Tests whether this field is continuous.

    Tests whether this field is continuous.

    Definition Classes
    HasOpType
  19. def isDate: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  20. def isDateTime: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  21. def isDouble: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  22. def isFloat: Boolean

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

    Permalink
    Definition Classes
    Any
  24. def isNominal: Boolean

    Permalink

    Tests whether this field is nominal.

    Tests whether this field is nominal.

    Definition Classes
    HasOpType
  25. def isNumeric: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  26. def isOrdinal: Boolean

    Permalink

    Tests whether this field is ordinal.

    Tests whether this field is ordinal.

    Definition Classes
    HasOpType
  27. def isReal: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  28. def isString: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  29. def isTime: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  30. def isTimestamp: Boolean

    Permalink
    Definition Classes
    DataTypeLike
  31. val name: String

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. val opType: OpType

    Permalink

    Operational type.

    Operational type.

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

    Permalink
  37. def scope: FieldScope

    Permalink
  38. def symbol: String

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

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

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

    Permalink
    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