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 SummaryConstructors Constructor Description FrameWriter()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static FrameBlock[]createFrameBlocksForReuse(Types.ValueType[] schema, String[] names, long rlen)static FrameBlockgetFrameBlockForReuse(FrameBlock[] blocks)abstract voidwriteFrameToHDFS(FrameBlock src, String fname, long rlen, long clen)
 
- 
- 
- 
Method Detail- 
writeFrameToHDFSpublic abstract void writeFrameToHDFS(FrameBlock src, String fname, long rlen, long clen) throws IOException, DMLRuntimeException - Throws:
- IOException
- DMLRuntimeException
 
 - 
createFrameBlocksForReusepublic static FrameBlock[] createFrameBlocksForReuse(Types.ValueType[] schema, String[] names, long rlen) 
 - 
getFrameBlockForReusepublic static FrameBlock getFrameBlockForReuse(FrameBlock[] blocks) 
 
- 
 
-