Interface DataSetSortAlgorithm
-
- All Known Implementing Classes:
CollectionsDataSetSort
public interface DataSetSortAlgorithmData set sort algorithm interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Integer>sort(org.dashbuilder.dataset.DataSet dataSet, List<Integer> rowNumbers, List<org.dashbuilder.dataset.sort.ColumnSort> columnSortList)Sort the specified data set according the sort criteria list specified.List<Integer>sort(org.dashbuilder.dataset.DataSet dataSet, List<org.dashbuilder.dataset.sort.ColumnSort> columnSortList)Sort the specified data set according the sort criteria list specified.
-
-
-
Method Detail
-
sort
List<Integer> sort(org.dashbuilder.dataset.DataSet dataSet, List<org.dashbuilder.dataset.sort.ColumnSort> columnSortList)
Sort the specified data set according the sort criteria list specified.- Parameters:
dataSet- The data set to sortcolumnSortList- The sort operations to apply- Returns:
- A list of ordered row numbers reflecting the sort results.
-
sort
List<Integer> sort(org.dashbuilder.dataset.DataSet dataSet, List<Integer> rowNumbers, List<org.dashbuilder.dataset.sort.ColumnSort> columnSortList)
Sort the specified data set according the sort criteria list specified.- Parameters:
dataSet- The data set to sortrowNumbers- The subset of rows to sort.columnSortList- The sort operations to apply- Returns:
- A list of ordered row numbers reflecting the sort results.
-
-