com
.
microsoft
.
ml
.
spark
.
cognitive
HasImageInput
Related Doc:
package cognitive
trait
HasImageInput
extends
HasImageUrl
with
HasImageBytes
with
HasCognitiveServiceInput
Linear Supertypes
HasCognitiveServiceInput
,
HasSubscriptionKey
,
HasURL
,
Wrappable
,
HasImageBytes
,
HasImageUrl
,
HasServiceParams
,
Params
,
Serializable
,
Serializable
,
Identifiable
,
AnyRef
,
Any
Known Subclasses
AnalyzeImage
,
DescribeImage
,
GenerateThumbnails
,
OCR
,
RecognizeDomainSpecificContent
,
RecognizeText
,
TagImage
Ordering
Alphabetic
By Inheritance
Inherited
HasImageInput
HasCognitiveServiceInput
HasSubscriptionKey
HasURL
Wrappable
HasImageBytes
HasImageUrl
HasServiceParams
Params
Serializable
Serializable
Identifiable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
copy
(
extra:
ParamMap
)
:
Params
Definition Classes
Params
abstract
val
uid
:
String
Definition Classes
Identifiable
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
$
[
T
]
(
param:
Param
[
T
]
)
:
T
Attributes
protected
Definition Classes
Params
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
additionalPythonMethods
()
:
String
Definition Classes
Wrappable
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
clear
(
param:
Param
[_]
)
:
HasImageInput
.this.type
Definition Classes
Params
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
contentType
: (
Row
) ⇒
String
Attributes
protected
Definition Classes
HasCognitiveServiceInput
def
copyValues
[
T <:
Params
]
(
to:
T
,
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
final
def
defaultCopy
[
T <:
Params
]
(
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
def
emptyParamData
[
T
]
(
row:
Row
,
p:
ServiceParam
[
T
]
)
:
Boolean
Attributes
protected
Definition Classes
HasServiceParams
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
explainParam
(
param:
Param
[_]
)
:
String
Definition Classes
Params
def
explainParams
()
:
String
Definition Classes
Params
final
def
extractParamMap
()
:
ParamMap
Definition Classes
Params
final
def
extractParamMap
(
extra:
ParamMap
)
:
ParamMap
Definition Classes
Params
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
get
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getDefault
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
def
getImageBytes
:
Array
[
Byte
]
Definition Classes
HasImageBytes
def
getImageBytesCol
:
String
Definition Classes
HasImageBytes
def
getImageUrl
:
String
Definition Classes
HasImageUrl
def
getImageUrlCol
:
String
Definition Classes
HasImageUrl
def
getInternalInputParser
(
schema:
StructType
)
:
HTTPInputParser
Attributes
protected
Definition Classes
HasCognitiveServiceInput
final
def
getOrDefault
[
T
]
(
param:
Param
[
T
]
)
:
T
Definition Classes
Params
def
getParam
(
paramName:
String
)
:
Param
[
Any
]
Definition Classes
Params
def
getRequiredParams
:
Array
[
ServiceParam
[_]]
Attributes
protected
Definition Classes
HasServiceParams
def
getScalarParam
[
T
]
(
name:
String
)
:
T
Definition Classes
HasServiceParams
def
getScalarParam
[
T
]
(
p:
ServiceParam
[
T
]
)
:
T
Definition Classes
HasServiceParams
def
getSubscriptionKey
:
String
Definition Classes
HasSubscriptionKey
def
getSubscriptionKeyCol
:
String
Definition Classes
HasSubscriptionKey
def
getUrl
:
String
Definition Classes
HasURL
def
getUrlParams
:
Array
[
ServiceParam
[_]]
Attributes
protected
Definition Classes
HasServiceParams
def
getValue
[
T
]
(
row:
Row
,
p:
ServiceParam
[
T
]
)
:
T
Attributes
protected
Definition Classes
HasServiceParams
def
getValueAny
(
row:
Row
,
p:
ServiceParam
[_]
)
:
Any
Attributes
protected
Definition Classes
HasServiceParams
def
getValueAnyOpt
(
row:
Row
,
p:
ServiceParam
[_]
)
:
Option
[
Any
]
Attributes
protected
Definition Classes
HasServiceParams
def
getValueMap
(
row:
Row
,
excludes:
Set
[
ServiceParam
[_]] =
Set()
)
:
Map
[
String
,
Any
]
Attributes
protected
Definition Classes
HasServiceParams
def
getValueOpt
[
T
]
(
row:
Row
,
p:
ServiceParam
[
T
]
)
:
Option
[
T
]
Attributes
protected
Definition Classes
HasServiceParams
def
getVectorParam
(
name:
String
)
:
String
Definition Classes
HasServiceParams
def
getVectorParam
(
p:
ServiceParam
[_]
)
:
String
Definition Classes
HasServiceParams
def
getVectorParamMap
:
Map
[
String
,
String
]
Attributes
protected
Definition Classes
HasServiceParams
final
def
hasDefault
[
T
]
(
param:
Param
[
T
]
)
:
Boolean
Definition Classes
Params
def
hasParam
(
paramName:
String
)
:
Boolean
Definition Classes
Params
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
imageBytes
:
ServiceParam
[
Array
[
Byte
]]
Definition Classes
HasImageBytes
val
imageUrl
:
ServiceParam
[
String
]
Definition Classes
HasImageUrl
def
inputFunc
(
schema:
StructType
)
: (
Row
) ⇒
Option
[
HttpRequestBase
]
Attributes
protected
Definition Classes
HasImageInput
→
HasCognitiveServiceInput
final
def
isDefined
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isSet
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
params
:
Array
[
Param
[_]]
Definition Classes
Params
def
prepareEntity
: (
Row
) ⇒
Option
[
AbstractHttpEntity
]
Attributes
protected
Definition Classes
HasImageInput
→
HasCognitiveServiceInput
def
prepareMethod
()
:
HttpRequestBase
Attributes
protected
Definition Classes
HasCognitiveServiceInput
def
prepareUrl
: (
Row
) ⇒
String
Attributes
protected
Definition Classes
HasCognitiveServiceInput
final
def
set
(
paramPair:
ParamPair
[_]
)
:
HasImageInput
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
(
param:
String
,
value:
Any
)
:
HasImageInput
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
HasImageInput
.this.type
Definition Classes
Params
final
def
setDefault
(
paramPairs:
ParamPair
[_]*
)
:
HasImageInput
.this.type
Attributes
protected
Definition Classes
Params
final
def
setDefault
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
HasImageInput
.this.type
Attributes
protected
Definition Classes
Params
def
setDefaultValue
[
T
]
(
p:
ServiceParam
[
T
]
,
value:
Option
[
T
]
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
setDefaultValue
[
T
]
(
p:
ServiceParam
[
T
]
,
value:
T
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
setImageBytes
(
v:
Array
[
Byte
]
)
:
HasImageInput
.this.type
Definition Classes
HasImageBytes
def
setImageBytesCol
(
v:
String
)
:
HasImageInput
.this.type
Definition Classes
HasImageBytes
def
setImageUrl
(
v:
String
)
:
HasImageInput
.this.type
Definition Classes
HasImageUrl
def
setImageUrlCol
(
v:
String
)
:
HasImageInput
.this.type
Definition Classes
HasImageUrl
def
setScalarParam
[
T
]
(
name:
String
,
value:
T
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
setScalarParam
[
T
]
(
p:
ServiceParam
[
T
]
,
value:
T
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
setSubscriptionKey
(
v:
String
)
:
HasImageInput
.this.type
Definition Classes
HasSubscriptionKey
def
setSubscriptionKeyCol
(
v:
String
)
:
HasImageInput
.this.type
Definition Classes
HasSubscriptionKey
def
setUrl
(
value:
String
)
:
HasImageInput
.this.type
Definition Classes
HasURL
def
setVectorParam
(
name:
String
,
value:
String
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
setVectorParam
[
T
]
(
p:
ServiceParam
[
T
]
,
value:
String
)
:
HasImageInput
.this.type
Definition Classes
HasServiceParams
def
shouldSkip
(
row:
Row
)
:
Boolean
Attributes
protected
Definition Classes
HasImageInput
→
HasServiceParams
val
subscriptionKey
:
ServiceParam
[
String
]
Definition Classes
HasSubscriptionKey
val
subscriptionKeyHeaderName
:
String
Attributes
protected
Definition Classes
HasCognitiveServiceInput
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Identifiable → AnyRef → Any
val
url
:
Param
[
String
]
Definition Classes
HasURL
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
HasCognitiveServiceInput
Inherited from
HasSubscriptionKey
Inherited from
HasURL
Inherited from
Wrappable
Inherited from
HasImageBytes
Inherited from
HasImageUrl
Inherited from
HasServiceParams
Inherited from
Params
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Identifiable
Inherited from
AnyRef
Inherited from
Any
getParam
setParam
Ungrouped