Class ReaderCompressed
- java.lang.Object
-
- org.apache.sysds.runtime.io.MatrixReader
-
- org.apache.sysds.runtime.compress.io.ReaderCompressed
-
public final class ReaderCompressed extends MatrixReader
-
-
Constructor Summary
Constructors Constructor Description ReaderCompressed()
ReaderCompressed(int k)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReaderCompressed
create()
static MatrixBlock
readCompressedMatrixFromHDFS(String fname, long rlen, long clen, int blen)
MatrixBlock
readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz)
MatrixBlock
readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz)
-
-
-
Method Detail
-
create
public static ReaderCompressed create()
-
readCompressedMatrixFromHDFS
public static MatrixBlock readCompressedMatrixFromHDFS(String fname, long rlen, long clen, int blen) throws IOException
- Throws:
IOException
-
readMatrixFromHDFS
public MatrixBlock readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromHDFS
in classMatrixReader
- Throws:
IOException
DMLRuntimeException
-
readMatrixFromInputStream
public MatrixBlock readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
- Specified by:
readMatrixFromInputStream
in classMatrixReader
- Throws:
IOException
DMLRuntimeException
-
-