Class ParameterizedBuiltinFEDInstruction.DecodeMatrix
- java.lang.Object
-
- org.apache.sysds.runtime.controlprogram.federated.FederatedUDF
-
- org.apache.sysds.runtime.instructions.fed.ParameterizedBuiltinFEDInstruction.DecodeMatrix
-
- All Implemented Interfaces:
Serializable
,LineageTraceable
- Enclosing class:
- ParameterizedBuiltinFEDInstruction
public static class ParameterizedBuiltinFEDInstruction.DecodeMatrix extends FederatedUDF
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecodeMatrix(long input, long outputID, FrameBlock meta, Decoder decoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.org.apache.commons.lang3.tuple.Pair<String,LineageItem>
getLineageItem(ExecutionContext ec)
Obtain lineage trace of an instruction with a single output.List<Long>
getOutputIds()
-
Methods inherited from class org.apache.sysds.runtime.controlprogram.federated.FederatedUDF
getInputIDs
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceable
getLineageItems, hasSingleLineage
-
-
-
-
Constructor Detail
-
DecodeMatrix
public DecodeMatrix(long input, long outputID, FrameBlock meta, Decoder decoder)
-
-
Method Detail
-
execute
public FederatedResponse execute(ExecutionContext ec, Data... data)
Description copied from class:FederatedUDF
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. Output data objects (potentially many) can be directly added to the passed execution context and its variable map.- Specified by:
execute
in classFederatedUDF
- Parameters:
ec
- execution contextdata
- one or many data objects- Returns:
- federated response, with none or many output objects
-
getOutputIds
public List<Long> getOutputIds()
- Overrides:
getOutputIds
in classFederatedUDF
-
getLineageItem
public org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
Description copied from interface:LineageTraceable
Obtain lineage trace of an instruction with a single output.- Parameters:
ec
- execution context w/ live variables- Returns:
- pair of (output variable name, output lineage item)
-
-