paypal / yurita

Anomaly detection framework @ PayPal
Apache License 2.0
107 stars 32 forks source link

Adding function references so that the library can be used from Java … #52

Closed Glamdring closed 5 years ago

Glamdring commented 5 years ago

Adding explicit function references so that functions can be referred to from within Java code as well as Scala code. This is needed because the Scala syntactic sugar of referring to function is not available in Java, and so turning a scala function to a FunctionX object is impossible. (It is possible using the scala-java8-compat package, however the resultant functions are not serializable which doesn't work with spark)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.