public class WriteSPInstruction extends SPInstruction
SPInstruction.SPType
Instruction.IType
_optr, _requiresLabelUpdate, _sptype
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, filename, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Modifier and Type | Method and Description |
---|---|
org.apache.sysml.runtime.io.FileFormatProperties |
getFormatProperties() |
static WriteSPInstruction |
parseInstruction(String str) |
protected void |
processFrameWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi,
org.apache.sysml.parser.Expression.ValueType[] schema) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
protected void |
processMatrixWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi) |
void |
setFormatProperties(org.apache.sysml.runtime.io.FileFormatProperties prop) |
getGraphString, getSPInstructionType, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID
public static WriteSPInstruction parseInstruction(String str)
public org.apache.sysml.runtime.io.FileFormatProperties getFormatProperties()
public void setFormatProperties(org.apache.sysml.runtime.io.FileFormatProperties prop)
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
Instruction
processInstruction
in class SPInstruction
ec
- execution contextprotected void processMatrixWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, String fname, OutputInfo oi) throws IOException
IOException
protected void processFrameWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, String fname, OutputInfo oi, org.apache.sysml.parser.Expression.ValueType[] schema) throws IOException
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.