Closed fschueler closed 8 years ago
toMatrixBlock(DataSetObject dso, int rlen, int clen, int brlen, int bclen, long nnz)
toMatrixBlock(DataSet<Tuple2<MatrixIndexes, MatrixBlock>> ds, int rlen, int clen, int brlen, int bclen, long nnz)
writeDataSetToHDFS(DataSetObject dso, String path, OutputInfo oinfo)
I implemented writeDataSetToHDFS for you since it is really similar to what I did in writing BinaryBlocks in WriteFLInstruction
In order to add all functionality to the (CSV)ReblockFLInstructions we need at least
writeDataSetToHDFS(...)
andtoMatrixBlock(...)
methods in FlinkExecutionContext (seeSparkExecutionContext
methods for reference).These are used in
MatrixObject.readMatrixFromDataSet(...)
which is used byMatrixObject.aquireRead()
.