Package org.apache.sysds.runtime.iogen
Class ReaderMapping
- java.lang.Object
-
- org.apache.sysds.runtime.iogen.ReaderMapping
-
public class ReaderMapping extends Object
-
-
Constructor Summary
Constructors Constructor Description ReaderMapping(int nlines, int nrows, int ncols, RawIndex[] sampleRawIndexes, MatrixBlock matrix)
ReaderMapping(String raw, FrameBlock frame)
ReaderMapping(String raw, MatrixBlock matrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compareCellValue(int r, int c, String value)
int
getActualValueCount()
int[][]
getMapCol()
int[][]
getMapLen()
MappingProperties
getMappingProperties()
int[][]
getMapRow()
int
getNcols()
int
getNlines()
int
getNrows()
RawIndex[]
getSampleRawIndexes()
-
-
-
Constructor Detail
-
ReaderMapping
public ReaderMapping(int nlines, int nrows, int ncols, RawIndex[] sampleRawIndexes, MatrixBlock matrix) throws Exception
- Throws:
Exception
-
ReaderMapping
public ReaderMapping(String raw, MatrixBlock matrix) throws Exception
- Throws:
Exception
-
ReaderMapping
public ReaderMapping(String raw, FrameBlock frame) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getMapRow
public int[][] getMapRow()
-
getMapCol
public int[][] getMapCol()
-
getMapLen
public int[][] getMapLen()
-
getSampleRawIndexes
public RawIndex[] getSampleRawIndexes()
-
getNrows
public int getNrows()
-
getNcols
public int getNcols()
-
getNlines
public int getNlines()
-
getMappingProperties
public MappingProperties getMappingProperties()
-
getActualValueCount
public int getActualValueCount()
-
compareCellValue
public boolean compareCellValue(int r, int c, String value)
-
-