Class/Object

com.microsoft.ml.spark

GenerateThumbnails

Related Docs: object GenerateThumbnails | package spark

Permalink

class GenerateThumbnails extends CognitiveServicesBase with HasImageInput with HasWidth with HasHeight with HasSmartCropping with HasInternalJsonOutputParser with HasCognitiveServiceInput

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. GenerateThumbnails
  2. HasInternalJsonOutputParser
  3. HasSmartCropping
  4. HasHeight
  5. HasWidth
  6. HasImageInput
  7. HasCognitiveServiceInput
  8. HasImageBytes
  9. HasImageUrl
  10. CognitiveServicesBase
  11. HasHandler
  12. CognitiveServicesBaseWithoutHandler
  13. HasErrorCol
  14. HasSubscriptionKey
  15. HasServiceParams
  16. ComplexParamsWritable
  17. MLWritable
  18. HasURL
  19. HasOutputCol
  20. HTTPParams
  21. Wrappable
  22. Transformer
  23. PipelineStage
  24. Logging
  25. Params
  26. Serializable
  27. Serializable
  28. Identifiable
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenerateThumbnails()

    Permalink
  2. new GenerateThumbnails(uid: String)

    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 $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def clear(param: Param[_]): GenerateThumbnails.this.type

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val concurrency: Param[Int]

    Permalink
    Definition Classes
    HTTPParams
  9. val concurrentTimeout: Param[Double]

    Permalink
    Definition Classes
    HTTPParams
  10. def copy(extra: ParamMap): Transformer

    Permalink
    Definition Classes
    CognitiveServicesBaseWithoutHandler → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  12. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  13. def emptyParamData[T](row: Row, p: ServiceParam[T]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val errorCol: Param[String]

    Permalink
    Definition Classes
    HasErrorCol
  17. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  18. def explainParams(): String

    Permalink
    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getConcurrency: Int

    Permalink

    Definition Classes
    HTTPParams
  25. def getConcurrentTimeout: Double

    Permalink

    Definition Classes
    HTTPParams
  26. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  27. def getErrorCol: String

    Permalink
    Definition Classes
    HasErrorCol
  28. def getHandler: HandlerFunc

    Permalink

    Definition Classes
    HasHandler
  29. def getHeight: Int

    Permalink
    Definition Classes
    HasHeight
  30. def getHeightCol: String

    Permalink
    Definition Classes
    HasHeight
  31. def getImageBytes: Array[Byte]

    Permalink
    Definition Classes
    HasImageBytes
  32. def getImageBytesCol: String

    Permalink
    Definition Classes
    HasImageBytes
  33. def getImageUrl: String

    Permalink
    Definition Classes
    HasImageUrl
  34. def getImageUrlCol: String

    Permalink
    Definition Classes
    HasImageUrl
  35. def getInternalInputParser(schema: StructType): HTTPInputParser

    Permalink
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  36. def getInternalOutputParser(schema: StructType): HTTPOutputParser

    Permalink
  37. def getInternalTransformer(schema: StructType): PipelineModel

    Permalink
    Attributes
    protected
    Definition Classes
    CognitiveServicesBaseWithoutHandler
  38. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  39. def getOutputCol: String

    Permalink

    Definition Classes
    HasOutputCol
  40. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  41. def getRequiredParams: Array[ServiceParam[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  42. def getScalarParam[T](name: String): T

    Permalink
    Definition Classes
    HasServiceParams
  43. def getScalarParam[T](p: ServiceParam[T]): T

    Permalink
    Definition Classes
    HasServiceParams
  44. def getSmartCropping: Boolean

    Permalink
    Definition Classes
    HasSmartCropping
  45. def getSmartCroppingCol: String

    Permalink
    Definition Classes
    HasSmartCropping
  46. def getSubscriptionKey: String

    Permalink
    Definition Classes
    HasSubscriptionKey
  47. def getSubscriptionKeyCol: String

    Permalink
    Definition Classes
    HasSubscriptionKey
  48. def getTimeout: Double

    Permalink

    Definition Classes
    HTTPParams
  49. def getUrl: String

    Permalink

    Definition Classes
    HasURL
  50. def getUrlParams: Array[ServiceParam[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  51. def getValue[T](row: Row, p: ServiceParam[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  52. def getValueAny(row: Row, p: ServiceParam[_]): Any

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  53. def getValueAnyOpt(row: Row, p: ServiceParam[_]): Option[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  54. def getValueMap(row: Row, excludes: Set[ServiceParam[_]] = Set()): Map[String, Any]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  55. def getValueOpt[T](row: Row, p: ServiceParam[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  56. def getVectorParam(name: String): String

    Permalink
    Definition Classes
    HasServiceParams
  57. def getVectorParam(p: ServiceParam[_]): String

    Permalink
    Definition Classes
    HasServiceParams
  58. def getVectorParamMap: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasServiceParams
  59. def getWidth: Int

    Permalink
    Definition Classes
    HasWidth
  60. def getWidthCol: String

    Permalink
    Definition Classes
    HasWidth
  61. val handler: UDFParam

    Permalink
    Definition Classes
    HasHandler
  62. def handlingFunc(client: CloseableHttpClient, request: HTTPRequestData): HTTPResponseData

    Permalink
  63. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  64. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  65. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  66. val height: ServiceParam[Int]

    Permalink
    Definition Classes
    HasHeight
  67. val imageBytes: ServiceParam[Array[Byte]]

    Permalink
    Definition Classes
    HasImageBytes
  68. val imageUrl: ServiceParam[String]

    Permalink
    Definition Classes
    HasImageUrl
  69. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  70. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  71. def inputFunc(schema: StructType): (Row) ⇒ Option[HttpRequestBase]

    Permalink
    Attributes
    protected
    Definition Classes
    HasImageInputHasCognitiveServiceInput
  72. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  73. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  74. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  75. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  76. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  77. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  78. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  79. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  80. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  81. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  82. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  86. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  88. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  91. val outputCol: Param[String]

    Permalink

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  92. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  93. def prepareEntity: (Row) ⇒ Option[AbstractHttpEntity]

    Permalink
    Attributes
    protected
    Definition Classes
    HasImageInputHasCognitiveServiceInput
  94. def prepareMethod(): HttpRequestBase

    Permalink
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  95. def prepareUrl: (Row) ⇒ String

    Permalink
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  96. def responseDataType: DataType

    Permalink
  97. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  98. final def set(paramPair: ParamPair[_]): GenerateThumbnails.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  99. final def set(param: String, value: Any): GenerateThumbnails.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  100. final def set[T](param: Param[T], value: T): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    Params
  101. def setConcurrency(value: Int): GenerateThumbnails.this.type

    Permalink

    Definition Classes
    HTTPParams
  102. def setConcurrentTimeout(value: Double): GenerateThumbnails.this.type

    Permalink

    Definition Classes
    HTTPParams
  103. final def setDefault(paramPairs: ParamPair[_]*): GenerateThumbnails.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  104. final def setDefault[T](param: Param[T], value: T): GenerateThumbnails.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  105. def setDefaultValue[T](p: ServiceParam[T], value: Option[T]): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  106. def setDefaultValue[T](p: ServiceParam[T], value: T): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  107. def setErrorCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasErrorCol
  108. def setHandler(v: HandlerFunc): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasHandler
  109. def setHeight(v: Int): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasHeight
  110. def setHeightCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasHeight
  111. def setImageBytes(v: Array[Byte]): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasImageBytes
  112. def setImageBytesCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasImageBytes
  113. def setImageUrl(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasImageUrl
  114. def setImageUrlCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasImageUrl
  115. def setLocation(v: String): GenerateThumbnails.this.type

    Permalink
  116. def setOutputCol(value: String): GenerateThumbnails.this.type

    Permalink

    Definition Classes
    HasOutputCol
  117. def setScalarParam[T](name: String, value: T): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  118. def setScalarParam[T](p: ServiceParam[T], value: T): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  119. def setSmartCropping(v: Boolean): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasSmartCropping
  120. def setSmartCroppingCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasSmartCropping
  121. def setSubscriptionKey(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasSubscriptionKey
  122. def setSubscriptionKeyCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasSubscriptionKey
  123. def setTimeout(value: Double): GenerateThumbnails.this.type

    Permalink

    Definition Classes
    HTTPParams
  124. def setUrl(value: String): GenerateThumbnails.this.type

    Permalink

    Definition Classes
    HasURL
  125. def setVectorParam(name: String, value: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  126. def setVectorParam[T](p: ServiceParam[T], value: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasServiceParams
  127. def setWidth(v: Int): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasWidth
  128. def setWidthCol(v: String): GenerateThumbnails.this.type

    Permalink
    Definition Classes
    HasWidth
  129. def shouldSkip(row: Row): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    HasImageInputHasServiceParams
  130. val smartCropping: ServiceParam[Boolean]

    Permalink
    Definition Classes
    HasSmartCropping
  131. val subscriptionKey: ServiceParam[String]

    Permalink
    Definition Classes
    HasSubscriptionKey
  132. val subscriptionKeyHeaderName: String

    Permalink
    Attributes
    protected
    Definition Classes
    HasCognitiveServiceInput
  133. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  134. val timeout: Param[Double]

    Permalink
    Definition Classes
    HTTPParams
  135. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  136. def transform(dataset: Dataset[_]): DataFrame

    Permalink
    Definition Classes
    CognitiveServicesBaseWithoutHandler → Transformer
  137. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  138. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  139. def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    CognitiveServicesBaseWithoutHandler → PipelineStage
  140. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  141. val uid: String

    Permalink
    Definition Classes
    GenerateThumbnailsCognitiveServicesBaseWithoutHandler → Identifiable
  142. val url: Param[String]

    Permalink
    Definition Classes
    HasURL
  143. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. val width: ServiceParam[Int]

    Permalink
    Definition Classes
    HasWidth
  147. def write: MLWriter

    Permalink
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from HasSmartCropping

Inherited from HasHeight

Inherited from HasWidth

Inherited from HasImageInput

Inherited from HasCognitiveServiceInput

Inherited from HasImageBytes

Inherited from HasImageUrl

Inherited from CognitiveServicesBase

Inherited from HasHandler

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 Transformer

Inherited from PipelineStage

Inherited from org.apache.spark.internal.Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Parameters

A list of parameter keys this algorithm can take. Users can set and get the parameter values through setters and getters

Parameter setters

Parameter getters

Members