public abstract class FederatedUDF extends Object implements Serializable, LineageTraceable
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() |
List<Long> |
getOutputIds() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLineageItem, getLineageItems, hasSingleLineage
public final long[] getInputIDs()
public abstract FederatedResponse execute(ExecutionContext ec, Data... data)
ec
- execution contextdata
- one or many data objectsCopyright © 2021 The Apache Software Foundation. All rights reserved.