Packages

object Annotation extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Annotation
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AnnotationContainer(__annotation: Array[Annotation]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(rawText: String): Annotation
  5. def apply(row: Row): Annotation

    This method converts a org.apache.spark.sql.Row into an Annotation

    This method converts a org.apache.spark.sql.Row into an Annotation

    row

    spark row to be converted

    returns

    annotation

  6. val arrayType: ArrayType
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. def collect(dataset: Dataset[Row], column: String, columns: String*): Array[Array[Annotation]]
  10. def collect(dataset: Dataset[Row], column: String): Array[Array[Annotation]]

    dataframe collect of a specific annotation column

  11. val dataType: StructType

    This is spark type of an annotation representing its metadata shape

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def flatten(vSep: String, aSep: String, parseEmbeddings: Boolean): UserDefinedFunction

    dataframe annotation flatmap of results into strings

  15. def flattenArray(parseEmbeddings: Boolean): UserDefinedFunction

    dataframe annotation flatmap of result values as ArrayType

  16. def flattenArrayMetadata: UserDefinedFunction

    dataframe annotation flatmap of metadata values as ArrayType

  17. def flattenDetail(vSep: String, aSep: String, parseEmbeddings: Boolean): UserDefinedFunction

    dataframe annotation flatmap of results and metadata key values into strings

  18. def getAnnotations(row: Row, colName: String): Seq[Annotation]
  19. def getAnnotations(row: Row, colNum: Int): Seq[Annotation]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def getColumnByType(dataset: Dataset[_], inputCols: Array[String], annotatorType: String): StructField
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. def searchCoverage(annotations: Array[Annotation], begin: Int, end: Int): Seq[Annotation]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def take(dataset: Dataset[Row], column: String, howMany: Int): Array[Array[Annotation]]

    dataframe take of a specific annotation column

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. object extractors

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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped