public class WriteSPInstruction extends SPInstruction
SPInstruction.SPINSTRUCTION_TYPE
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, type, VALUETYPE_PREFIX
Modifier and Type | Method and Description |
---|---|
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(FileFormatProperties prop) |
getGraphString, getSPInstructionType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadID
public static WriteSPInstruction parseInstruction(String str) throws DMLRuntimeException
DMLRuntimeException
public FileFormatProperties getFormatProperties()
public void setFormatProperties(FileFormatProperties prop)
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) throws DMLRuntimeException
Instruction
processInstruction
in class SPInstruction
ec
- execution contextDMLRuntimeException
- if DMLRuntimeException occursprotected void processMatrixWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, String fname, OutputInfo oi) throws DMLRuntimeException, IOException
DMLRuntimeException
IOException
protected void processFrameWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, String fname, OutputInfo oi, org.apache.sysml.parser.Expression.ValueType[] schema) throws DMLRuntimeException, IOException
DMLRuntimeException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.