Packages

c

com.johnsnowlabs.nlp

FeaturesWriter

class FeaturesWriter[T] extends MLWriter with HasFeatures

Linear Supertypes
HasFeatures, MLWriter, Logging, BaseReadWrite, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeaturesWriter
  2. HasFeatures
  3. MLWriter
  4. Logging
  5. BaseReadWrite
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FeaturesWriter(annotatorWithFeatures: HasFeatures, baseWriter: MLWriter, onWritten: (String, SparkSession) => Unit)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def $$[T](feature: StructFeature[T]): T
    Attributes
    protected
    Definition Classes
    HasFeatures
  4. def $$[K, V](feature: MapFeature[K, V]): Map[K, V]
    Attributes
    protected
    Definition Classes
    HasFeatures
  5. def $$[T](feature: SetFeature[T]): Set[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  6. def $$[T](feature: ArrayFeature[T]): Array[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. val features: ArrayBuffer[Feature[_, _, _]]
    Definition Classes
    HasFeatures
  13. def get[T](feature: StructFeature[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  14. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  15. def get[T](feature: SetFeature[T]): Option[Set[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  16. def get[T](feature: ArrayFeature[T]): Option[Array[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  23. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  38. def option(key: String, value: String): FeaturesWriter.this.type
    Definition Classes
    MLWriter
    Annotations
    @Since("2.3.0")
  39. val optionMap: Map[String, String]
    Attributes
    protected
    Definition Classes
    MLWriter
  40. def overwrite(): FeaturesWriter.this.type
    Definition Classes
    MLWriter
    Annotations
    @Since("1.6.0")
  41. def save(path: String): Unit
    Definition Classes
    MLWriter
    Annotations
    @throws("If the input path already exists but overwrite is not enabled.") @Since("1.6.0")
  42. def saveImpl(path: String): Unit
    Attributes
    protected
    Definition Classes
    FeaturesWriter → MLWriter
  43. final def sc: SparkContext
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  44. def session(sparkSession: SparkSession): FeaturesWriter.this.type
    Definition Classes
    MLWriter → BaseReadWrite
    Annotations
    @Since("1.6.0")
  45. def set[T](feature: StructFeature[T], value: T): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  46. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  47. def set[T](feature: SetFeature[T], value: Set[T]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  48. def set[T](feature: ArrayFeature[T], value: Array[T]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  49. def setDefault[T](feature: StructFeature[T], value: () => T): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  50. def setDefault[K, V](feature: MapFeature[K, V], value: () => Map[K, V]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  51. def setDefault[T](feature: SetFeature[T], value: () => Set[T]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  52. def setDefault[T](feature: ArrayFeature[T], value: () => Array[T]): FeaturesWriter.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  53. var shouldOverwrite: Boolean
    Attributes
    protected
    Definition Classes
    MLWriter
  54. final def sparkSession: SparkSession
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  55. final def sqlContext: SQLContext
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from HasFeatures

Inherited from MLWriter

Inherited from Logging

Inherited from BaseReadWrite

Inherited from AnyRef

Inherited from Any

Ungrouped