Packages

object Annotation extends Serializable

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

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( ... ) @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: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatten(vSep: String, aSep: String, parseEmbeddings: Boolean): UserDefinedFunction

    dataframe annotation flatmap of results into strings

  16. def flattenArray(parseEmbeddings: Boolean): UserDefinedFunction

    dataframe annotation flatmap of result values as ArrayType

  17. def flattenArrayMetadata: UserDefinedFunction

    dataframe annotation flatmap of metadata values as ArrayType

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

    dataframe annotation flatmap of results and metadata key values into strings

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

    dataframe take of a specific annotation column

  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. object extractors

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped