Class SortIndex
java.lang.Object
org.apache.sysds.runtime.functionobjects.FunctionObject
org.apache.sysds.runtime.functionobjects.IndexFunction
org.apache.sysds.runtime.functionobjects.SortIndex
- All Implemented Interfaces:
Serializable
This index function is NOT used for actual sorting but just as a reference
in ReorgOperator in order to identify sort operations.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancomputeDimension(int row, int col, MatrixValue.CellIndex retDim) booleanvoidexecute(MatrixIndexes in, MatrixIndexes out) voidint[]getCols()booleanbooleanMethods inherited from class org.apache.sysds.runtime.functionobjects.IndexFunction
toString
-
Constructor Details
-
SortIndex
public SortIndex(int col, boolean decreasing, boolean indexreturn) -
SortIndex
public SortIndex(int[] cols, boolean decreasing, boolean indexreturn)
-
-
Method Details
-
getCols
public int[] getCols() -
getDecreasing
public boolean getDecreasing() -
getIndexReturn
public boolean getIndexReturn() -
computeDimension
- Specified by:
computeDimensionin classIndexFunction
-
execute
- Specified by:
executein classIndexFunction
-
execute
- Specified by:
executein classIndexFunction
-
computeDimension
- Specified by:
computeDimensionin classIndexFunction
-