Packages

o

com.linkedin.feathr.offline.job

LocalFeatureJoinJob

object LocalFeatureJoinJob

This object is used to help user to test/debug their workflow locally with sample data. This class serves as a wrapper around FeathrClient class and invokes the FeathrClient#joinFeatures method by creating a spark session.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalFeatureJoinJob
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def joinWithHoconJoinConfig(joinConfigAsHoconString: String, featureDefAsString: String, observationDataPath: String, extraParams: Array[String] = Array(), ss: SparkSession = ss, dataPathHandlers: List[DataPathHandler], mvelContext: Option[FeathrExpressionExecutionContext] = None): SparkFeaturizedDataset

    local debug API, used in unit test and local debug

    local debug API, used in unit test and local debug

    joinConfigAsHoconString

    feature join config

    featureDefAsString

    feature def config

    observationDataPath

    observation data

    returns

    observation with joined features as a dataframe

  13. def loadObservationAsFDS(ss: SparkSession, obsDataPath: String, dataLoaderHandlers: List[DataLoaderHandler]): SparkFeaturizedDataset

    Load observation data as SparkFeaturizedDataset

    Load observation data as SparkFeaturizedDataset

    ss

    spark session

    obsDataPath

    HDFS path for observation

    returns

    a SparkFeaturizedDataset

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val ss: SparkSession
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def joinWithObsDFAndHoconJoinConfig(joinConfigAsHoconString: String, featureDefAsString: String, observationData: SparkFeaturizedDataset, extraParams: Array[String] = Array(), ss: SparkSession = ss, dataPathHandlers: List[DataPathHandler], mvelContext: Option[FeathrExpressionExecutionContext]): SparkFeaturizedDataset

    local debug API, used in unit test and local debug

    local debug API, used in unit test and local debug

    joinConfigAsHoconString

    feature join config as HOCON config string

    featureDefAsString

    feature def config

    observationData

    observation data

    returns

    observation with joined features as a SparkFeaturizedDataset

    Annotations
    @deprecated
    Deprecated

    HOCON config is deprecated. Please use joinWithObs with PDL join config

Inherited from AnyRef

Inherited from Any

Ungrouped