parquet_string_column_reindex_trusted Interface

public interface parquet_string_column_reindex_trusted

Typed form of %reindex_trusted, generic over an int32 or int64 index/count argument.


Module Procedures

private subroutine parquet_string_column_reindex_trusted_i32(self, perm)

int32 specific of reindex_trusted; see the reindex_trusted generic.

Arguments

Type IntentOptional Attributes Name
type(parquet_string_column), intent(inout) :: self

the column.

integer(kind=int32), intent(in) :: perm(:)

1-based permutation of 1..size().

private subroutine parquet_string_column_reindex_trusted_i64(self, perm)

int64 specific of reindex_trusted: reindex without the O(n) range/duplicate scan, for a permutation the caller has already established is one. The O(1) length check still runs.

Public only because Fortran has no narrower visibility, and reached from exactly two places: parquet_column%reindex_trusted (which is how parquet_table%sort_by avoids re-validating one permutation once per column) and pf_permute(..., assume_valid=.true.). A caller who passes a non-permutation gets silently duplicated and dropped elements, so this is internal plumbing rather than an alternative to %reindex.

Arguments

Type IntentOptional Attributes Name
type(parquet_string_column), intent(inout) :: self

the column.

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

1-based permutation of 1..size().