public class WriteSPInstruction extends SPInstruction
SPInstruction.SPTypeInstruction.IType_optr, _requiresLabelUpdate, _sptypebeginCol, 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, requiresLabelUpdategetBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadIDpublic 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)
InstructionprocessInstruction in class SPInstructionec - execution contextprotected void processMatrixWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi)
throws IOException
IOExceptionprotected void processFrameWriteInstruction(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String fname,
OutputInfo oi,
org.apache.sysml.parser.Expression.ValueType[] schema)
throws IOException
IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.