object SparkUtils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparkUtils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit class SparkOperations extends AnyRef
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 array_remove_empty(array: Column): Column
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def colFromArrayOrField(df: DataFrame, colName: String): Column
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def escapeInfoAndLowercase(df: DataFrame, excludes: String*): Seq[Column]
-
def
fileExist(path: String)(implicit spark: SparkSession): Boolean
Check if the hadoop file exists
Check if the hadoop file exists
- path
Path to check. Accept some patterns
- spark
session that contains hadoop config
- val filename: Column
- def firstAs(c: String, ignoreNulls: Boolean = false): Column
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getColumnOrElse(colName: String, default: Any = ""): Column
- def getColumnOrElseArray(colName: String, default: Any = ""): Column
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNestedFieldExists(dfSchema: StructType, fieldName: String): Boolean
- def isNestedFieldExists(df: DataFrame, fieldName: String): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val removeEmptyObjectsIn: (String) ⇒ Column
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tableName(table: String, studyId: String, releaseId: String, database: String = "variant"): String
- def tableName(table: String, studyId: String, releaseId: String): String
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def union(df1: DataFrame, df2: DataFrame)(implicit spark: SparkSession): DataFrame
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated