Class DataGenCPInstruction
- 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.DataGenCPInstruction
 
 
 
 
 
- 
- All Implemented Interfaces:
- LineageTraceable
 
 public class DataGenCPInstruction extends UnaryCPInstruction 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.cp.CPInstructionCPInstruction.CPType
 - 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.InstructionInstruction.IType
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstructioninput1, input2, input3, output
 - 
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 DataGenCPInstruction(Operator op, Types.OpOpDG method, CPOperand out, CPOperand rows, CPOperand cols, String data, String schema, String opcode, String str)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBlocksize()longgetCols()StringgetDims()longgetFrom()longgetIncr()org.apache.commons.lang3.tuple.Pair<String,LineageItem>getLineageItem(ExecutionContext ec)Obtain lineage trace of an instruction with a single output.doublegetMaxValue()doublegetMinValue()StringgetPdf()StringgetPdfParams()longgetRows()longgetSeed()doublegetSparsity()longgetTo()booleanisMatrixCall()booleanisOnesCol()static DataGenCPInstructionparseInstruction(String str)voidprocessInstruction(ExecutionContext ec)This method should be used to execute the instruction.- 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstructiongetInputs, getOutput, getOutputVariableName
 - 
Methods inherited from class org.apache.sysds.runtime.instructions.cp.CPInstructiongetCPInstructionType, getGraphString, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate, updateLabels
 - 
Methods inherited from class org.apache.sysds.runtime.instructions.InstructiongetBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, printMe, 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
 
- 
 
- 
- 
- 
Method Detail- 
getRowspublic long getRows() 
 - 
getColspublic long getCols() 
 - 
getDimspublic String getDims() 
 - 
getBlocksizepublic int getBlocksize() 
 - 
getMinValuepublic double getMinValue() 
 - 
getMaxValuepublic double getMaxValue() 
 - 
getSparsitypublic double getSparsity() 
 - 
getPdfpublic String getPdf() 
 - 
getPdfParamspublic String getPdfParams() 
 - 
getSeedpublic long getSeed() 
 - 
isOnesColpublic boolean isOnesCol() 
 - 
isMatrixCallpublic boolean isMatrixCall() 
 - 
getFrompublic long getFrom() 
 - 
getTopublic long getTo() 
 - 
getIncrpublic long getIncr() 
 - 
parseInstructionpublic static DataGenCPInstruction 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- CPInstruction
- Parameters:
- ec- execution context
 
 - 
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
- Overrides:
- getLineageItemin class- ComputationCPInstruction
- Parameters:
- ec- execution context w/ live variables
- Returns:
- pair of (output variable name, output lineage item)
 
 
- 
 
-