com
.
johnsnowlabs
.
nlp
.
serialization
StructFeature
Related Doc:
package serialization
class
StructFeature
[
TValue
]
extends
Feature
[
TValue
,
TValue
,
TValue
]
Linear Supertypes
Feature
[
TValue
,
TValue
,
TValue
],
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
StructFeature
Feature
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
StructFeature
(
model:
HasFeatures
,
name:
String
)
(
implicit
arg0:
ClassTag
[
TValue
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
var
broadcastValue
:
Option
[
Broadcast
[
TValue
]]
Attributes
protected
Definition Classes
Feature
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
deserialize
(
spark:
SparkSession
,
path:
String
,
field:
String
)
:
Option
[_]
Definition Classes
Feature
def
deserializeDataset
(
spark:
SparkSession
,
path:
String
,
field:
String
)
:
Option
[
TValue
]
Definition Classes
StructFeature
→
Feature
def
deserializeObject
(
spark:
SparkSession
,
path:
String
,
field:
String
)
:
Option
[
TValue
]
Definition Classes
StructFeature
→
Feature
implicit
val
encoder
:
Encoder
[
TValue
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
var
fallbackLazyValue
:
Option
[() ⇒
TValue
]
Attributes
protected
Definition Classes
Feature
final
var
fallbackRawValue
:
Option
[
TValue
]
Attributes
protected
Definition Classes
Feature
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
get
:
Option
[
TValue
]
Definition Classes
Feature
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getFieldPath
(
path:
String
,
field:
String
)
:
Path
Attributes
protected
Definition Classes
Feature
final
def
getOrDefault
:
TValue
Definition Classes
Feature
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isSet
:
Boolean
Definition Classes
Feature
val
name
:
String
Definition Classes
StructFeature
→
Feature
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
orDefault
:
Option
[
TValue
]
Definition Classes
Feature
final
var
rawValue
:
Option
[
TValue
]
Attributes
protected
Definition Classes
Feature
val
serializationMode
:
String
Definition Classes
Feature
final
def
serialize
(
spark:
SparkSession
,
path:
String
,
field:
String
,
value:
TValue
)
:
Unit
Definition Classes
Feature
def
serializeDataset
(
spark:
SparkSession
,
path:
String
,
field:
String
,
value:
TValue
)
:
Unit
Definition Classes
StructFeature
→
Feature
final
def
serializeInfer
(
spark:
SparkSession
,
path:
String
,
field:
String
,
value:
Any
)
:
Unit
Definition Classes
Feature
def
serializeObject
(
spark:
SparkSession
,
path:
String
,
field:
String
,
value:
TValue
)
:
Unit
Definition Classes
StructFeature
→
Feature
def
setFallback
(
v:
Option
[() ⇒
TValue
]
)
:
HasFeatures
Definition Classes
Feature
final
def
setValue
(
value:
Option
[
Any
]
)
:
HasFeatures
Definition Classes
Feature
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
useBroadcast
:
Boolean
Definition Classes
Feature
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
Feature
[
TValue
,
TValue
,
TValue
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped