com.linkedin.feathr.offline.testfwk.generation
FeathrGenTestComponent
Companion object FeathrGenTestComponent
class FeathrGenTestComponent extends AnyRef
Component to test Feathr generation
- Alphabetic
- By Inheritance
- FeathrGenTestComponent
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FeathrGenTestComponent(resourceLocation: Map[String, List[String]], dataPathHandlers: List[DataPathHandler], extraParams: Array[String] = Array())
- resourceLocation
input source paths
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
-
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()
-
def
rewriteConfiguration(dataConfiguration: FeatureGenDataConfiguration, inputConstraintOpt: Optional[String], mockDataBaseDir: Option[String]): FeatureGenDataConfigurationWithMockContext
rewrite Feathr data configuration for local run
rewrite Feathr data configuration for local run
- dataConfiguration
feathr data configurations (feature definition, join config, observation path, etc.)
- inputConstraintOpt
mock data constraint config
- returns
rewritten configuration with mock parameters
-
def
run(mockDataDir: String, inputConstraintOpt: Optional[String]): Map[TaggedFeatureName, SparkFeaturizedDataset]
run test case with resource resourceLocation
run test case with resource resourceLocation
- inputConstraintOpt
mock data constraint config
- returns
test result
- val ss: SparkSession
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(featureName: String, mockDataDir: String): (Boolean, String)
Validate the feature config and some basic information.
Validate the feature config and some basic information.
- returns
Tuple of: true(validation passed) or false(validation failed) to error message.
-
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()