Interface Reducer.RowComparator

  • Enclosing interface:
    Reducer

    public static interface Reducer.RowComparator
    Rows comparator. See Index
    • Method Detail

      • compareRows

        int compareRows​(org.h2.result.SearchRow rowData,
                        org.h2.result.SearchRow compare)
        Compare two rows.
        Parameters:
        rowData - the first row
        compare - the second row
        Returns:
        0 if both rows are equal, -1 if the first row is smaller, otherwise 1