object GffDataSource
- Alphabetic
- By Inheritance
- GffDataSource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- def addAttributesMapColumn(df: DataFrame): DataFrame
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkAndGetPath(options: Map[String, String]): String
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def filterFastaLines(df: DataFrame): DataFrame
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inferSchema(sqlContext: SQLContext, path: String): StructType
Infers the schema by reading the gff fileusing csv datasource and parsing the attributes fields to get official and unofficial attribute columns.
Infers the schema by reading the gff fileusing csv datasource and parsing the attributes fields to get official and unofficial attribute columns. Drops the original "attributes" column. Names, types and ordering of columns will be as follows: Names: All attribute fields will have names exactly as in tags. Types: Official attribute fields will have the types in io.projectglow.common.FeatureSchemas.gffOfficialAttributeFields. Detection of official field names among tags are case-and-underscore-insensitive. Unofficial attribute fields will have StringType. Ordering: gffBaseSchema fields come first, followed by official attributes fields as ordered in io.projectglow.common.FeatureSchemas.gffOfficialAttributeFields, followed by unofficial attribute fields in case-insensitive alphabetical order.
- returns
inferred schema
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalizeAttributesMapKeys(df: DataFrame): DataFrame
- def normalizeString(s: String): String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )