org.apache.sysds.runtime.instructions.fed

## Class InitFEDInstruction

- java.lang.Object
- - org.apache.sysds.runtime.instructions.Instruction
  - - org.apache.sysds.runtime.instructions.fed.FEDInstruction
    - - org.apache.sysds.runtime.instructions.fed.InitFEDInstruction

-     public class InitFEDInstruction
      extends FEDInstruction

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction

      `FEDInstruction.FEDType`

    - ### Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction

      `Instruction.IType`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FED_FRAME_IDENTIFIER`
    `static String` | `FED_MATRIX_IDENTIFIER`

    - ### Fields inherited from class org.apache.sysds.runtime.instructions.Instruction

      `DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InitFEDInstruction(CPOperand type, CPOperand addresses, CPOperand ranges, CPOperand out, String opcode, String instr)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)`
    `void` | `federateMatrix(MatrixObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)`
    `static InitFEDInstruction` | `parseInstruction(String str)`
    `static String[]` | `parseURL(String input)`
    `void` | `processInstruction(ExecutionContext ec)` This method should be used to execute the instruction.

    - ### Methods inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction

      `getFEDInstructionType, getTID, getType, preprocessInstruction, setTID`

    - ### Methods inherited from class org.apache.sysds.runtime.instructions.Instruction

      `getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getGraphString, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, postprocessInstruction, printMe, requiresLabelUpdate, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadID`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### FED_MATRIX_IDENTIFIER

          public static final String FED_MATRIX_IDENTIFIER

      See Also:
        Constant Field Values

    - #### FED_FRAME_IDENTIFIER

          public static final String FED_FRAME_IDENTIFIER

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### InitFEDInstruction

          public InitFEDInstruction(CPOperand type,
                                    CPOperand addresses,
                                    CPOperand ranges,
                                    CPOperand out,
                                    String opcode,
                                    String instr)

  - ### Method Detail

    - #### parseInstruction

          public static InitFEDInstruction parseInstruction(String str)

    - #### processInstruction

          public void processInstruction(ExecutionContext ec)

      Description copied from class: `Instruction`
      This method should be used to execute the instruction.
      Specified by:
        `processInstruction` in class `Instruction`
      Parameters:
        `ec` - execution context

    - #### parseURL

          public static String[] parseURL(String input)

    - #### federateMatrix

          public void federateMatrix(MatrixObject output,
                                     List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)

    - #### federateFrame

          public void federateFrame(FrameObject output,
                                    List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)

Copyright © 2020 The Apache Software Foundation. All rights reserved.