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
 
 
 
- 
- All Implemented Interfaces:
- LineageTraceable
 
 public class InitFEDInstruction extends FEDInstruction implements LineageTraceable 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstructionFEDInstruction.FederatedOutput, FEDInstruction.FEDType
 - 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.InstructionInstruction.IType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringFED_FRAME_IDENTIFIERstatic StringFED_MATRIX_IDENTIFIER- 
Fields inherited from class org.apache.sysds.runtime.instructions.InstructionDATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
 
- 
 - 
Constructor SummaryConstructors Constructor Description InitFEDInstruction(CPOperand type, CPOperand addresses, CPOperand ranges, CPOperand out, String opcode, String instr)InitFEDInstruction(CPOperand type, CPOperand addresses, CPOperand ranges, CPOperand object, CPOperand out, String opcode, String instr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidfederateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers, CacheBlock[] blocks)static voidfederateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)static voidfederateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers, CacheBlock[] blocks)org.apache.commons.lang3.tuple.Pair<String,LineageItem>getLineageItem(ExecutionContext ec)Obtain lineage trace of an instruction with a single output.static InitFEDInstructionparseInstruction(String str)static String[]parseURL(String input)static String[]parseURLNoFilePath(String input)voidprocessFromLocalFedInit(ExecutionContext ec)voidprocessInstruction(ExecutionContext ec)This method should be used to execute the instruction.- 
Methods inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstructiongetFEDInstructionType, getTID, getType, preprocessInstruction, setTID
 - 
Methods inherited from class org.apache.sysds.runtime.instructions.InstructiongetBeginColumn, 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.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceablegetLineageItems, hasSingleLineage
 
- 
 
- 
- 
- 
Field Detail- 
FED_MATRIX_IDENTIFIERpublic static final String FED_MATRIX_IDENTIFIER - See Also:
- Constant Field Values
 
 - 
FED_FRAME_IDENTIFIERpublic static final String FED_FRAME_IDENTIFIER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
parseInstructionpublic static InitFEDInstruction parseInstruction(String str) 
 - 
processInstructionpublic void processInstruction(ExecutionContext ec) Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
- processInstructionin class- Instruction
- Parameters:
- ec- execution context
 
 - 
processFromLocalFedInitpublic void processFromLocalFedInit(ExecutionContext ec) 
 - 
federateMatrixpublic static void federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers) 
 - 
federateMatrixpublic static void federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers, CacheBlock[] blocks) 
 - 
federateFramepublic static void federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers, CacheBlock[] blocks) 
 - 
getLineageItempublic org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec) Description copied from interface:LineageTraceableObtain lineage trace of an instruction with a single output.- Specified by:
- getLineageItemin interface- LineageTraceable
- Parameters:
- ec- execution context w/ live variables
- Returns:
- pair of (output variable name, output lineage item)
 
 
- 
 
-