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.
- Alphabetic
- By Inheritance
- LocalFeatureJoinJob
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
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 ss: SparkSession
-
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
- @throws( ... ) @native()
Deprecated Value Members
-
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