parquet_debug_sort_row_less Interface

interface
public module function parquet_debug_sort_row_less(keys, a, b) result(less)

Arguments

Type IntentOptional Attributes Name
type(pf_sort_keys), intent(in) :: keys

the built key set.

integer(kind=int64), intent(in) :: a

first row, 1-based.

integer(kind=int64), intent(in) :: b

second row, 1-based.

Return Value logical

.true. when a sorts before b.

Description

Test-only view of what the Fortran SORT comparator says about one pair of rows.

Public only because it has to be: sort_key_buf is private to this module, so a test cannot reach sort_row_less any other way, and the C++-side hook convention is unavailable for a decision that Stage 1 exists to move out of C++. Not called by library code. Rows are 1-based, as everywhere else in this module's public API.