Packages

class DocumentTranslator extends CognitiveServicesBaseNoHandler with HasInternalJsonOutputParser with HasCognitiveServiceInput with HasServiceName with Wrappable with DocumentTranslatorAsyncReply with BasicLogging with HasSetLinkedService

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DocumentTranslator
  2. HasSetLinkedService
  3. HasUrlPath
  4. DocumentTranslatorAsyncReply
  5. BasicAsyncReply
  6. HasAsyncReply
  7. HasServiceName
  8. HasCognitiveServiceInput
  9. HasInternalJsonOutputParser
  10. CognitiveServicesBaseNoHandler
  11. BasicLogging
  12. HasErrorCol
  13. HasSubscriptionKey
  14. HasServiceParams
  15. ComplexParamsWritable
  16. MLWritable
  17. HasURL
  18. HasOutputCol
  19. HTTPParams
  20. Wrappable
  21. RWrappable
  22. PythonWrappable
  23. BaseWrappable
  24. Transformer
  25. PipelineStage
  26. Logging
  27. Params
  28. Serializable
  29. Serializable
  30. Identifiable
  31. AnyRef
  32. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DocumentTranslator()
  2. new DocumentTranslator(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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val backoffs: IntArrayParam
    Definition Classes
    HasAsyncReply
  7. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  8. final def clear(param: Param[_]): DocumentTranslator.this.type
    Definition Classes
    Params
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  11. val concurrency: Param[Int]
    Definition Classes
    HTTPParams
  12. val concurrentTimeout: Param[Double]
    Definition Classes
    HTTPParams
  13. def contentType: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  14. def copy(extra: ParamMap): Transformer
    Definition Classes
    CognitiveServicesBaseNoHandler → Transformer → PipelineStage → Params
  15. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  16. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  17. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  18. def emptyParamData[T](row: Row, p: ServiceParam[T]): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. val errorCol: Param[String]
    Definition Classes
    HasErrorCol
  22. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  23. def explainParams(): String
    Definition Classes
    Params
  24. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  25. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  26. val filterPrefix: ServiceParam[String]
  27. val filterSuffix: ServiceParam[String]
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  30. def getBackoffs: Array[Int]

    Definition Classes
    HasAsyncReply
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def getConcurrency: Int

    Definition Classes
    HTTPParams
  33. def getConcurrentTimeout: Double

    Definition Classes
    HTTPParams
  34. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  35. def getErrorCol: String
    Definition Classes
    HasErrorCol
  36. def getInternalInputParser(schema: StructType): HTTPInputParser
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  37. def getInternalOutputParser(schema: StructType): HTTPOutputParser
    Attributes
    protected
    Definition Classes
    HasInternalJsonOutputParser
  38. def getInternalTransformer(schema: StructType): PipelineModel
    Attributes
    protected
    Definition Classes
    CognitiveServicesBaseNoHandler
  39. def getMaxPollingRetries: Int

    Definition Classes
    HasAsyncReply
  40. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  41. def getOutputCol: String

    Definition Classes
    HasOutputCol
  42. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  43. def getPollingDelay: Int

    Definition Classes
    HasAsyncReply
  44. def getRequiredParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  45. def getScalarParam[T](name: String): T
    Definition Classes
    HasServiceParams
  46. def getScalarParam[T](p: ServiceParam[T]): T
    Definition Classes
    HasServiceParams
  47. def getServiceName: String
    Definition Classes
    HasServiceName
  48. def getSubscriptionKey: String
    Definition Classes
    HasSubscriptionKey
  49. def getSubscriptionKeyCol: String
    Definition Classes
    HasSubscriptionKey
  50. def getTimeout: Double

    Definition Classes
    HTTPParams
  51. def getUrl: String

    Definition Classes
    HasURL
  52. def getUrlParams: Array[ServiceParam[_]]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  53. def getValue[T](row: Row, p: ServiceParam[T]): T
    Attributes
    protected
    Definition Classes
    HasServiceParams
  54. def getValueAny(row: Row, p: ServiceParam[_]): Any
    Attributes
    protected
    Definition Classes
    HasServiceParams
  55. def getValueAnyOpt(row: Row, p: ServiceParam[_]): Option[Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  56. def getValueMap(row: Row, excludes: Set[ServiceParam[_]] = Set()): Map[String, Any]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  57. def getValueOpt[T](row: Row, p: ServiceParam[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  58. def getVectorParam(name: String): String
    Definition Classes
    HasServiceParams
  59. def getVectorParam(p: ServiceParam[_]): String
    Definition Classes
    HasServiceParams
  60. def getVectorParamMap: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasServiceParams
  61. def handlingFunc(client: CloseableHttpClient, request: HTTPRequestData): HTTPResponseData
    Attributes
    protected
    Definition Classes
    BasicAsyncReplyHasAsyncReply
  62. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  63. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  64. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  65. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  66. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def inputFunc(schema: StructType): (Row) ⇒ Option[HttpRequestBase]
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  68. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  71. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  72. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  73. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  74. def logClass(): Unit
    Definition Classes
    BasicLogging
  75. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  80. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  81. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  84. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  85. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  86. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  88. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  89. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  90. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  91. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  92. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  93. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  94. val maxPollingRetries: IntParam
    Definition Classes
    HasAsyncReply
  95. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  96. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  97. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  98. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  99. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  100. val pollingDelay: IntParam
    Definition Classes
    HasAsyncReply
  101. def prepareEntity: (Row) ⇒ Option[AbstractHttpEntity]
    Attributes
    protected
    Definition Classes
    DocumentTranslatorHasCognitiveServiceInput
  102. def prepareMethod(): HttpRequestBase
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  103. def prepareUrl: (Row) ⇒ String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  104. def pyAdditionalMethods: String
    Definition Classes
    HasSetLinkedServicePythonWrappable
  105. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  108. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  109. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  110. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  111. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  114. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  117. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  121. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  122. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  123. def queryForResult(key: Option[String], client: CloseableHttpClient, location: URI): Option[HTTPResponseData]
    Attributes
    protected
    Definition Classes
    DocumentTranslatorAsyncReplyBasicAsyncReplyHasAsyncReply
  124. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  125. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  126. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  127. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  128. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  129. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  130. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  131. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  132. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  133. def responseDataType: DataType
  134. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  135. val serviceName: Param[String]
    Definition Classes
    HasServiceName
  136. final def set(paramPair: ParamPair[_]): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  137. final def set(param: String, value: Any): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  138. final def set[T](param: Param[T], value: T): DocumentTranslator.this.type
    Definition Classes
    Params
  139. def setBackoffs(value: Array[Int]): DocumentTranslator.this.type

    Definition Classes
    HasAsyncReply
  140. def setConcurrency(value: Int): DocumentTranslator.this.type

    Definition Classes
    HTTPParams
  141. def setConcurrentTimeout(value: Option[Double]): DocumentTranslator.this.type
    Definition Classes
    HTTPParams
  142. def setConcurrentTimeout(value: Double): DocumentTranslator.this.type

    Definition Classes
    HTTPParams
  143. final def setDefault(paramPairs: ParamPair[_]*): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  144. final def setDefault[T](param: Param[T], value: T): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  145. def setErrorCol(v: String): DocumentTranslator.this.type
    Definition Classes
    HasErrorCol
  146. def setFilterPrefix(v: String): DocumentTranslator.this.type
  147. def setFilterPrefixCol(v: String): DocumentTranslator.this.type
  148. def setFilterSuffix(v: String): DocumentTranslator.this.type
  149. def setFilterSuffixCol(v: String): DocumentTranslator.this.type
  150. def setLinkedService(v: String): DocumentTranslator.this.type
  151. def setMaxPollingRetries(value: Int): DocumentTranslator.this.type

    Definition Classes
    HasAsyncReply
  152. def setOutputCol(value: String): DocumentTranslator.this.type

    Definition Classes
    HasOutputCol
  153. def setPollingDelay(value: Int): DocumentTranslator.this.type

    Definition Classes
    HasAsyncReply
  154. def setScalarParam[T](name: String, value: T): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  155. def setScalarParam[T](p: ServiceParam[T], value: T): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  156. def setServiceName(v: String): DocumentTranslator.this.type
    Definition Classes
    DocumentTranslatorHasServiceName
  157. def setSourceLanguage(v: String): DocumentTranslator.this.type
  158. def setSourceLanguageCol(v: String): DocumentTranslator.this.type
  159. def setSourceStorageSource(v: String): DocumentTranslator.this.type
  160. def setSourceStorageSourceCol(v: String): DocumentTranslator.this.type
  161. def setSourceUrl(v: String): DocumentTranslator.this.type
  162. def setSourceUrlCol(v: String): DocumentTranslator.this.type
  163. def setStorageType(v: String): DocumentTranslator.this.type
  164. def setStorageTypeCol(v: String): DocumentTranslator.this.type
  165. def setSubscriptionKey(v: String): DocumentTranslator.this.type
    Definition Classes
    HasSubscriptionKey
  166. def setSubscriptionKeyCol(v: String): DocumentTranslator.this.type
    Definition Classes
    HasSubscriptionKey
  167. def setTargets(v: Seq[TargetInput]): DocumentTranslator.this.type
  168. def setTargetsCol(v: String): DocumentTranslator.this.type
  169. def setTimeout(value: Double): DocumentTranslator.this.type

    Definition Classes
    HTTPParams
  170. def setUrl(value: String): DocumentTranslator.this.type

    Definition Classes
    HasURL
  171. def setVectorParam(name: String, value: String): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  172. def setVectorParam[T](p: ServiceParam[T], value: String): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  173. def shouldSkip(row: Row): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  174. val sourceLanguage: ServiceParam[String]
  175. val sourceStorageSource: ServiceParam[String]
  176. val sourceUrl: ServiceParam[String]
  177. val storageType: ServiceParam[String]
  178. val subscriptionKey: ServiceParam[String]
    Definition Classes
    HasSubscriptionKey
  179. val subscriptionKeyHeaderName: String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  180. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  181. val targets: ServiceParam[Seq[TargetInput]]
  182. val timeout: Param[Double]
    Definition Classes
    HTTPParams
  183. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  184. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    DocumentTranslatorCognitiveServicesBaseNoHandler → Transformer
  185. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  186. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  187. def transformSchema(schema: StructType): StructType
    Definition Classes
    CognitiveServicesBaseNoHandler → PipelineStage
  188. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  189. val uid: String
    Definition Classes
    DocumentTranslatorCognitiveServicesBaseNoHandlerBasicLogging → Identifiable
  190. val url: Param[String]
    Definition Classes
    HasURL
  191. def urlPath: String
    Definition Classes
    DocumentTranslatorHasUrlPath
  192. val ver: String
    Definition Classes
    BasicLogging
  193. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  194. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  195. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  196. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from HasSetLinkedService

Inherited from HasUrlPath

Inherited from BasicAsyncReply

Inherited from HasAsyncReply

Inherited from HasServiceName

Inherited from HasCognitiveServiceInput

Inherited from BasicLogging

Inherited from HasErrorCol

Inherited from HasSubscriptionKey

Inherited from HasServiceParams

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from HasURL

Inherited from HasOutputCol

Inherited from HTTPParams

Inherited from Wrappable

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