Package org.apache.sysds.runtime.io
Class FrameWriter
- java.lang.Object
 - 
- org.apache.sysds.runtime.io.FrameWriter
 
 
- 
- Direct Known Subclasses:
 FrameWriterBinaryBlock,FrameWriterProto,FrameWriterTextCell,FrameWriterTextCSV
public abstract class FrameWriter extends Object
Base class for all format-specific frame writers. Every writer is required to implement the basic write functionality but might provide additional custom functionality. Any non-default parameters (e.g., CSV read properties) should be passed into custom constructors. There is also a factory for creating format-specific writers. 
- 
- 
Constructor Summary
Constructors Constructor Description FrameWriter() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidsetForcedParallel(boolean par)abstract voidwriteFrameToHDFS(FrameBlock src, String fname, long rlen, long clen) 
 - 
 
- 
- 
Method Detail
- 
writeFrameToHDFS
public abstract void writeFrameToHDFS(FrameBlock src, String fname, long rlen, long clen) throws IOException, DMLRuntimeException
- Throws:
 IOExceptionDMLRuntimeException
 
- 
setForcedParallel
public void setForcedParallel(boolean par)
 
 - 
 
 -