class UDFTransformer extends Transformer with Wrappable with ComplexParamsWritable with HasInputCol with HasInputCols with HasOutputCol with BasicLogging

UDFTransformer takes as input input column, output column, and a UserDefinedFunction returns a dataframe comprised of the original columns with the output column as the result of the udf applied to the input column

Linear Supertypes
BasicLogging, HasOutputCol, HasInputCols, HasInputCol, ComplexParamsWritable, MLWritable, Wrappable, DotnetWrappable, RWrappable, PythonWrappable, BaseWrappable, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UDFTransformer
  2. BasicLogging
  3. HasOutputCol
  4. HasInputCols
  5. HasInputCol
  6. ComplexParamsWritable
  7. MLWritable
  8. Wrappable
  9. DotnetWrappable
  10. RWrappable
  11. PythonWrappable
  12. BaseWrappable
  13. Transformer
  14. PipelineStage
  15. Logging
  16. Params
  17. Serializable
  18. Serializable
  19. Identifiable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UDFTransformer()
  2. new UDFTransformer(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def applyUDF(col: Column): Column
  6. def applyUDFOnCols(cols: Column*): Column
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  9. final def clear(param: Param[_]): UDFTransformer.this.type
    Definition Classes
    Params
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  12. def copy(extra: ParamMap): UDFTransformer
    Definition Classes
    UDFTransformer → Transformer → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  14. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  15. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  16. def dotnetAdditionalMethods: String
    Definition Classes
    DotnetWrappable
  17. def dotnetClass(): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  18. lazy val dotnetClassName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  19. lazy val dotnetClassNameString: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  20. lazy val dotnetClassWrapperName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  21. lazy val dotnetCopyrightLines: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  22. def dotnetExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  23. def dotnetExtraMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  24. lazy val dotnetInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  25. def dotnetMLReadWriteMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  26. lazy val dotnetNamespace: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  27. lazy val dotnetObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  28. def dotnetParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  29. def dotnetParamGetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  30. def dotnetParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  31. def dotnetParamSetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  32. def dotnetWrapAsTypeMethod: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  35. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  36. def explainParams(): String
    Definition Classes
    Params
  37. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  38. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  39. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def getDataType: DataType
  43. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  44. def getInputCol: String

    Definition Classes
    HasInputCol
  45. def getInputCols: Array[String]

    Definition Classes
    HasInputCols
  46. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  47. def getOutputCol: String

    Definition Classes
    HasOutputCol
  48. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  49. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  50. def getUDF: UserDefinedFunction

  51. def getUDPyF: UserDefinedPythonFunction

  52. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  53. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  55. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  56. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. val inputCol: Param[String]

    The name of the input column

    The name of the input column

    Definition Classes
    HasInputCol
  58. val inputCols: StringArrayParam

    The names of the inputColumns

    The names of the inputColumns

    Definition Classes
    HasInputCols
  59. val invalidColumnSetError: String
  60. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  63. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  64. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  65. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  66. def logClass(): Unit
    Definition Classes
    BasicLogging
  67. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  69. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  70. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  72. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  73. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  74. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  76. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  77. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  80. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  81. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  82. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def makeDotnetFile(conf: CodegenConfig): Unit
    Definition Classes
    DotnetWrappable
  85. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  86. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  89. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  90. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  91. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  92. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  93. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  94. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  95. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  96. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  97. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  98. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  99. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    UDFTransformerPythonWrappable
  100. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  101. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  102. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  104. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  105. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  108. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  109. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  110. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  111. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  112. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  113. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  114. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  115. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  116. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  117. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  118. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  119. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  120. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  121. final def set(paramPair: ParamPair[_]): UDFTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  122. final def set(param: String, value: Any): UDFTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  123. final def set[T](param: Param[T], value: T): UDFTransformer.this.type
    Definition Classes
    Params
  124. final def setDefault(paramPairs: ParamPair[_]*): UDFTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  125. final def setDefault[T](param: Param[T], value: T): UDFTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  126. def setInputCol(value: String): UDFTransformer.this.type

    Definition Classes
    UDFTransformerHasInputCol
  127. def setInputCols(value: Array[String]): UDFTransformer.this.type

    Definition Classes
    UDFTransformerHasInputCols
  128. def setOutputCol(value: String): UDFTransformer.this.type

    Definition Classes
    HasOutputCol
  129. def setUDF(value: UserDefinedPythonFunction): UDFTransformer.this.type

  130. def setUDF(value: UserDefinedFunction): UDFTransformer.this.type

  131. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  132. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  133. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  134. def transform(dataset: Dataset[_]): DataFrame

    dataset

    - The input dataset, to be transformed

    returns

    The DataFrame that results from applying the udf to the inputted dataset

    Definition Classes
    UDFTransformer → Transformer
  135. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  136. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  137. def transformSchema(schema: StructType): StructType
    Definition Classes
    UDFTransformer → PipelineStage
  138. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  139. val udfParams: Seq[ComplexParam[_]]
  140. val udfPython: UDPyFParam
  141. val udfPythonKey: String
  142. val udfScala: UDFParam
  143. val udfScalaKey: String
  144. val uid: String
    Definition Classes
    UDFTransformerBasicLogging → Identifiable
  145. def validateAndTransformSchema(schema: StructType): StructType
  146. val ver: String
    Definition Classes
    BasicLogging
  147. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  148. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  150. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from HasOutputCol

Inherited from HasInputCols

Inherited from HasInputCol

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from DotnetWrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped