abstract class Feature[Serializable1, Serializable2, TComplete] extends Serializable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Feature
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Feature(model: HasFeatures, name: String)(implicit arg0: ClassTag[TComplete])
Abstract Value Members
- abstract def deserializeDataset(spark: SparkSession, path: String, field: String): Option[_]
- Attributes
- protected
- abstract def deserializeObject(spark: SparkSession, path: String, field: String): Option[_]
- Attributes
- protected
- abstract def serializeDataset(spark: SparkSession, path: String, field: String, value: TComplete): Unit
- Attributes
- protected
- abstract def serializeObject(spark: SparkSession, path: String, field: String, value: TComplete): Unit
- Attributes
- protected
Concrete 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[TComplete]]
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def deserialize(spark: SparkSession, path: String, field: String): Option[_]
- def deserializeLegacyObject[ObjectType](spark: SparkSession, path: String)(implicit arg0: ClassTag[ObjectType]): RDD[ObjectType]
Loads an object from a SequenceFile containing serialized objects.
Loads an object from a SequenceFile containing serialized objects. It tries to load the tuple across Scala version, handling serialVersionUID mismatches.
Adapted from sparkContext.objectFile:
"Load an RDD saved as a SequenceFile containing serialized objects, with NullWritable keys and BytesWritable values that contain a serialized partition."
- path
directory to the input data files, the path can be comma separated paths as a list of inputs
- returns
RDD representing deserialized data from the file(s)
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final var fallbackLazyValue: Option[() => TComplete]
- Attributes
- protected
- final var fallbackRawValue: Option[TComplete]
- Attributes
- protected
- final def get: Option[TComplete]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def getFieldPath(path: String, field: String): Path
- Attributes
- protected
- final def getOrDefault: TComplete
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final var isProtected: Boolean
- Attributes
- protected
- final def isSet: Boolean
- lazy val logger: Logger
- Attributes
- protected
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def orDefault: Option[TComplete]
- final var rawValue: Option[TComplete]
- Attributes
- protected
- val serializationMode: String
- final def serialize(spark: SparkSession, path: String, field: String, value: TComplete): Unit
- final def serializeInfer(spark: SparkSession, path: String, field: String, value: Any): Unit
- def setFallback(v: Option[() => TComplete]): HasFeatures
- final def setProtected(): Feature.this.type
Sets this feature to be protected and only settable once.
Sets this feature to be protected and only settable once.
- returns
This Feature
- final def setValue(value: Option[Any]): HasFeatures
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val useBroadcast: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)