Class RollIndex
- java.lang.Object
-
- org.apache.sysds.runtime.functionobjects.FunctionObject
-
- org.apache.sysds.runtime.functionobjects.IndexFunction
-
- org.apache.sysds.runtime.functionobjects.RollIndex
-
- All Implemented Interfaces:
Serializable
public class RollIndex extends IndexFunction
This index function is NOT used for actual sorting but just as a reference in ReorgOperator in order to identify sort operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RollIndex(int shift)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancomputeDimension(int row, int col, MatrixValue.CellIndex retDim)booleancomputeDimension(DataCharacteristics in, DataCharacteristics out)voidexecute(MatrixIndexes in, MatrixIndexes out)voidexecute(MatrixValue.CellIndex in, MatrixValue.CellIndex out)intgetShift()-
Methods inherited from class org.apache.sysds.runtime.functionobjects.IndexFunction
toString
-
-
-
-
Method Detail
-
getShift
public int getShift()
-
computeDimension
public boolean computeDimension(int row, int col, MatrixValue.CellIndex retDim)- Specified by:
computeDimensionin classIndexFunction
-
computeDimension
public boolean computeDimension(DataCharacteristics in, DataCharacteristics out)
- Specified by:
computeDimensionin classIndexFunction
-
execute
public void execute(MatrixIndexes in, MatrixIndexes out)
- Specified by:
executein classIndexFunction
-
execute
public void execute(MatrixValue.CellIndex in, MatrixValue.CellIndex out)
- Specified by:
executein classIndexFunction
-
-