Class StringInitCPInstruction
- java.lang.Object
 - 
- org.apache.sysds.runtime.instructions.Instruction
 - 
- org.apache.sysds.runtime.instructions.cp.CPInstruction
 - 
- org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
 - 
- org.apache.sysds.runtime.instructions.cp.UnaryCPInstruction
 - 
- org.apache.sysds.runtime.instructions.cp.StringInitCPInstruction
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 LineageTraceable
public class StringInitCPInstruction extends UnaryCPInstruction
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.cp.CPInstruction
CPInstruction.CPType 
- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static StringDELIM- 
Fields inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
input1, input2, input3, input4, output 
- 
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 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCols()org.apache.commons.lang3.tuple.Pair<String,LineageItem>getLineageItem(ExecutionContext ec)Obtain lineage trace of an instruction with a single output.longgetRows()static StringInitCPInstructionparseInstruction(String str)voidprocessInstruction(ExecutionContext ec)This method should be used to execute the instruction.- 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
getInputs, getOutput, getOutputVariableName, hasFrameInput 
- 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.CPInstruction
getCPInstructionType, getGraphString, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate, updateLabels 
- 
Methods inherited from class org.apache.sysds.runtime.instructions.Instruction
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceable
getLineageItems, hasSingleLineage 
 - 
 
 - 
 
- 
- 
Field Detail
- 
DELIM
public static final String DELIM
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getRows
public long getRows()
 
- 
getCols
public long getCols()
 
- 
parseInstruction
public static StringInitCPInstruction parseInstruction(String str)
 
- 
processInstruction
public void processInstruction(ExecutionContext ec)
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
 processInstructionin classCPInstruction- Parameters:
 ec- execution context
 
- 
getLineageItem
public 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 interfaceLineageTraceable- Overrides:
 getLineageItemin classComputationCPInstruction- Parameters:
 ec- execution context w/ live variables- Returns:
 - pair of (output variable name, output lineage item)
 
 
 - 
 
 -