parquet_debug_sort_keys_compare Interface

interface
public module function parquet_debug_sort_keys_compare(keys, a, b, nkeys) result(c)

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.

integer, intent(in) :: nkeys

leading engine keys taking part.

Return Value integer

-1, 0 or +1.

Description

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

Same reasoning as parquet_debug_sort_row_less. nkeys counts ENGINE keys and is clamped to how many the set holds; note a parquet_timestamp key binds as two.