public class WriteSPInstruction extends SPInstruction
SPInstruction.SPINSTRUCTION_TYPEInstruction.INSTRUCTION_TYPE_optr, _requiresLabelUpdate, _sptypebeginCol, 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, requiresLabelUpdategetBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadIDpublic static WriteSPInstruction parseInstruction(String str) throws DMLRuntimeException
DMLRuntimeExceptionpublic FileFormatProperties getFormatProperties()
public void setFormatProperties(FileFormatProperties prop)
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
throws DMLRuntimeException
InstructionprocessInstruction in class SPInstructionec - execution contextDMLRuntimeException - if DMLRuntimeException occursprotected void processMatrixWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi)
throws DMLRuntimeException,
IOException
DMLRuntimeExceptionIOExceptionprotected void processFrameWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi,
org.apache.sysml.parser.Expression.ValueType[] schema)
throws DMLRuntimeException,
IOException
DMLRuntimeExceptionIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.