public abstract class FederatedUDF extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
abstract FederatedResponse |
execute(ExecutionContext ec,
Data... data)
Execute the user-defined function on a set of data objects
(e.g., matrix objects, frame objects, or scalars), which are
looked up by specified input IDs and passed in the same order.
|
long[] |
getInputIDs() |
public final long[] getInputIDs()
public abstract FederatedResponse execute(ExecutionContext ec, Data... data)
ec
- execution contextdata
- one or many data objectsCopyright © 2020 The Apache Software Foundation. All rights reserved.