Package org.apache.sysds.runtime.iogen
Class ReaderMappingIndex
- java.lang.Object
-
- org.apache.sysds.runtime.iogen.ReaderMappingIndex
-
public class ReaderMappingIndex extends Object
-
-
Constructor Summary
Constructors Constructor Description ReaderMappingIndex(int nlines, int nrows, int ncols, RawIndex[] sampleRawIndexes, MatrixBlock matrix)ReaderMappingIndex(String raw, FrameBlock frame)ReaderMappingIndex(String raw, MatrixBlock matrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompareCellValue(int r, int c, String value)intgetActualValueCount()int[][]getMapCol()int[][]getMapLen()MappingPropertiesgetMappingProperties()int[][]getMapRow()intgetNcols()intgetNlines()intgetNrows()RawIndex[]getSampleRawIndexes()
-
-
-
Constructor Detail
-
ReaderMappingIndex
public ReaderMappingIndex(int nlines, int nrows, int ncols, RawIndex[] sampleRawIndexes, MatrixBlock matrix) throws Exception- Throws:
Exception
-
ReaderMappingIndex
public ReaderMappingIndex(String raw, MatrixBlock matrix) throws Exception
- Throws:
Exception
-
ReaderMappingIndex
public ReaderMappingIndex(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)
-
-