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. ConcurrencyParams
  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
    ConcurrencyParams
  12. val concurrentTimeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  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
    ConcurrencyParams
  33. def getConcurrentTimeout: Double

    Definition Classes
    ConcurrencyParams
  34. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  35. def getErrorCol: String
    Definition Classes
    HasErrorCol
  36. def getInitialPollingDelay: Int

    Definition Classes
    HasAsyncReply
  37. def getInternalInputParser(schema: StructType): HTTPInputParser
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  38. def getInternalOutputParser(schema: StructType): HTTPOutputParser
    Attributes
    protected
    Definition Classes
    HasInternalJsonOutputParser
  39. def getInternalTransformer(schema: StructType): PipelineModel
    Attributes
    protected
    Definition Classes
    CognitiveServicesBaseNoHandler
  40. def getMaxPollingRetries: Int

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

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

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

    Definition Classes
    HasAsyncReply
  52. def getTimeout: Double

    Definition Classes
    ConcurrencyParams
  53. def getUrl: String

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

    The name of the output column

    The name of the output column

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

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

    Definition Classes
    ConcurrencyParams
  145. def setConcurrentTimeout(value: Option[Double]): DocumentTranslator.this.type
    Definition Classes
    ConcurrencyParams
  146. def setConcurrentTimeout(value: Double): DocumentTranslator.this.type

    Definition Classes
    ConcurrencyParams
  147. final def setDefault(paramPairs: ParamPair[_]*): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  148. final def setDefault[T](param: Param[T], value: T): DocumentTranslator.this.type
    Attributes
    protected
    Definition Classes
    Params
  149. def setErrorCol(v: String): DocumentTranslator.this.type
    Definition Classes
    HasErrorCol
  150. def setFilterPrefix(v: String): DocumentTranslator.this.type
  151. def setFilterPrefixCol(v: String): DocumentTranslator.this.type
  152. def setFilterSuffix(v: String): DocumentTranslator.this.type
  153. def setFilterSuffixCol(v: String): DocumentTranslator.this.type
  154. def setInitialPollingDelay(value: Int): DocumentTranslator.this.type

    Definition Classes
    HasAsyncReply
  155. def setLinkedService(v: String): DocumentTranslator.this.type
  156. def setMaxPollingRetries(value: Int): DocumentTranslator.this.type

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

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

    Definition Classes
    HasAsyncReply
  159. def setScalarParam[T](name: String, value: T): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  160. def setScalarParam[T](p: ServiceParam[T], value: T): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  161. def setServiceName(v: String): DocumentTranslator.this.type
    Definition Classes
    DocumentTranslatorHasServiceName
  162. def setSourceLanguage(v: String): DocumentTranslator.this.type
  163. def setSourceLanguageCol(v: String): DocumentTranslator.this.type
  164. def setSourceStorageSource(v: String): DocumentTranslator.this.type
  165. def setSourceStorageSourceCol(v: String): DocumentTranslator.this.type
  166. def setSourceUrl(v: String): DocumentTranslator.this.type
  167. def setSourceUrlCol(v: String): DocumentTranslator.this.type
  168. def setStorageType(v: String): DocumentTranslator.this.type
  169. def setStorageTypeCol(v: String): DocumentTranslator.this.type
  170. def setSubscriptionKey(v: String): DocumentTranslator.this.type
    Definition Classes
    HasSubscriptionKey
  171. def setSubscriptionKeyCol(v: String): DocumentTranslator.this.type
    Definition Classes
    HasSubscriptionKey
  172. def setSuppressMaxRetriesExceededException(value: Boolean): DocumentTranslator.this.type

    Definition Classes
    HasAsyncReply
  173. def setTargets(v: Seq[TargetInput]): DocumentTranslator.this.type
  174. def setTargetsCol(v: String): DocumentTranslator.this.type
  175. def setTimeout(value: Double): DocumentTranslator.this.type

    Definition Classes
    ConcurrencyParams
  176. def setUrl(value: String): DocumentTranslator.this.type

    Definition Classes
    HasURL
  177. def setVectorParam(name: String, value: String): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  178. def setVectorParam[T](p: ServiceParam[T], value: String): DocumentTranslator.this.type
    Definition Classes
    HasServiceParams
  179. def shouldSkip(row: Row): Boolean
    Attributes
    protected
    Definition Classes
    HasServiceParams
  180. val sourceLanguage: ServiceParam[String]
  181. val sourceStorageSource: ServiceParam[String]
  182. val sourceUrl: ServiceParam[String]
  183. val storageType: ServiceParam[String]
  184. val subscriptionKey: ServiceParam[String]
    Definition Classes
    HasSubscriptionKey
  185. val subscriptionKeyHeaderName: String
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  186. val suppressMaxRetriesExceededException: BooleanParam
    Definition Classes
    HasAsyncReply
  187. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  188. val targets: ServiceParam[Seq[TargetInput]]
  189. val timeout: Param[Double]
    Definition Classes
    ConcurrencyParams
  190. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  191. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    DocumentTranslatorCognitiveServicesBaseNoHandler → Transformer
  192. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  193. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  194. def transformSchema(schema: StructType): StructType
    Definition Classes
    CognitiveServicesBaseNoHandler → PipelineStage
  195. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  196. val uid: String
    Definition Classes
    DocumentTranslatorCognitiveServicesBaseNoHandlerBasicLogging → Identifiable
  197. val url: Param[String]
    Definition Classes
    HasURL
  198. def urlPath: String
    Definition Classes
    DocumentTranslatorHasUrlPath
  199. val ver: String
    Definition Classes
    BasicLogging
  200. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  201. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  202. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  203. 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 ConcurrencyParams

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