public class InitFEDInstruction extends FEDInstruction implements LineageTraceable
FEDInstruction.FederatedOutput, FEDInstruction.FEDType
Instruction.IType
Modifier and Type | Field and Description |
---|---|
static String |
FED_FRAME_IDENTIFIER |
static String |
FED_MATRIX_IDENTIFIER |
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Constructor and Description |
---|
InitFEDInstruction(CPOperand type,
CPOperand addresses,
CPOperand ranges,
CPOperand out,
String opcode,
String instr) |
Modifier and Type | Method and Description |
---|---|
static void |
federateFrame(FrameObject output,
List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers) |
static void |
federateMatrix(CacheableData<?> output,
List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers) |
org.apache.commons.lang3.tuple.Pair<String,LineageItem> |
getLineageItem(ExecutionContext ec)
Obtain lineage trace of an instruction with a single output.
|
static InitFEDInstruction |
parseInstruction(String str) |
static String[] |
parseURL(String input) |
void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
getFEDInstructionType, getTID, getType, preprocessInstruction, setTID
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLineageItems, hasSingleLineage
public static final String FED_MATRIX_IDENTIFIER
public static final String FED_FRAME_IDENTIFIER
public static InitFEDInstruction parseInstruction(String str)
public void processInstruction(ExecutionContext ec)
Instruction
processInstruction
in class Instruction
ec
- execution contextpublic static void federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)
public static void federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> workers)
public org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
LineageTraceable
getLineageItem
in interface LineageTraceable
ec
- execution context w/ live variablesCopyright © 2021 The Apache Software Foundation. All rights reserved.