Class MultiReturnParameterizedBuiltinFEDInstruction.CreateFrameEncoder

java.lang.Object
org.apache.sysds.runtime.controlprogram.federated.FederatedUDF
org.apache.sysds.runtime.instructions.fed.MultiReturnParameterizedBuiltinFEDInstruction.CreateFrameEncoder
All Implemented Interfaces:
Serializable, LineageTraceable
Enclosing class:
MultiReturnParameterizedBuiltinFEDInstruction

public static class MultiReturnParameterizedBuiltinFEDInstruction.CreateFrameEncoder extends FederatedUDF
See Also:
  • Constructor Details

    • CreateFrameEncoder

      public CreateFrameEncoder(long input, String spec, int offset)
  • Method Details

    • 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 class FederatedUDF
      Parameters:
      ec - execution context
      data - one or many data objects
      Returns:
      federated response, with none or many output objects
    • 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)