object JoinUtils
- Alphabetic
- By Inheritance
- JoinUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coalescedJoin(leftDf: DataFrame, rightDf: DataFrame, keys: Seq[String], joinType: String = "left"): DataFrame
* join left and right dataframes, merging any shared columns if exists by the coalesce rule.
* join left and right dataframes, merging any shared columns if exists by the coalesce rule. fails if there is any data type mismatch between shared columns.
The order of output joined dataframe is:
- all keys
- all columns on left (incl. both shared and non-shared) in the original order of left
- all columns on right that are NOT shared by left, in the original order of right
- val contains_any: UserDefinedFunction
- def createLatestLabelView(viewName: String, baseView: String, tableUtils: TableUtils, propertiesOverride: Map[String, String] = null): Unit
* Method to create a view with latest available label_ds for a given ds.
* Method to create a view with latest available label_ds for a given ds. This view is built on top of final label view which has all label versions available. This view will inherit the final label view properties as well.
- def createOrReplaceView(viewName: String, leftTable: String, rightTable: String, joinKeys: Array[String], tableUtils: TableUtils, viewProperties: Map[String, String] = null, labelColumnPrefix: String = Constants.LabelColumnPrefix): Unit
* Method to create or replace a view for feature table joining with labels.
* Method to create or replace a view for feature table joining with labels. Label columns will be prefixed with "label" or custom prefix for easy identification
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filterColumns(df: DataFrame, filter: Seq[String]): DataFrame
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLatestLabelMapping(tableName: String, tableUtils: TableUtils): Map[String, Seq[PartitionRange]]
compute the mapping label_ds -> PartitionRange of ds which has this label_ds as latest version
compute the mapping label_ds -> PartitionRange of ds which has this label_ds as latest version
- Get all partitions from table
- For each ds, find the latest available label_ds
- Reverse the mapping and get the ds partition range for each label version(label_ds)
- returns
Mapping of the label ds -> partition ranges of ds which has this label available as latest
- def getRangesToFill(leftSource: Source, tableUtils: TableUtils, endPartition: String): PartitionRange
* Compute partition range to be filled for given join conf
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def leftDf(joinConf: api.Join, range: PartitionRange, tableUtils: TableUtils, allowEmpty: Boolean = false): Option[DataFrame]
* Util methods for join computation
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val set_add: UserDefinedFunction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tablesToRecompute(joinConf: api.Join, outputTable: String, tableUtils: TableUtils): Seq[String]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()