public class ParameterizedBuiltinCPInstruction extends ComputationCPInstruction
CPInstruction.CPType
Instruction.IType
input1, input2, input3, output
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<String,String> |
constructParameterMap(String[] params) |
org.apache.commons.lang3.tuple.Pair<String,LineageItem> |
getLineageItem(ExecutionContext ec)
Obtain lineage trace of an instruction with a single output.
|
String |
getParam(String key) |
HashMap<String,String> |
getParameterMap() |
CacheableData<?> |
getTarget(ExecutionContext ec) |
static ParameterizedBuiltinCPInstruction |
parseInstruction(String str) |
void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
getInputs, getOutput, getOutputVariableName
getCPInstructionType, getGraphString, getType, preprocessInstruction, requiresLabelUpdate, updateLabels
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, postprocessInstruction, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadID
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLineageItems, hasSingleLineage
public static LinkedHashMap<String,String> constructParameterMap(String[] params)
public static ParameterizedBuiltinCPInstruction parseInstruction(String str)
public void processInstruction(ExecutionContext ec)
Instruction
processInstruction
in class CPInstruction
ec
- execution contextpublic org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
LineageTraceable
getLineageItem
in interface LineageTraceable
getLineageItem
in class ComputationCPInstruction
ec
- execution context w/ live variablespublic CacheableData<?> getTarget(ExecutionContext ec)
Copyright © 2020 The Apache Software Foundation. All rights reserved.