parquet_string_column_reindex Interface

public interface parquet_string_column_reindex

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


Module Procedures

private subroutine parquet_string_column_reindex_i32(self, perm)

int32 specific of reindex; see the reindex 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_i64(self, perm)

int64 specific of reindex: reorders every element so that element k of the result is the element that was at perm(k) before the call, rebuilding the payload, offsets and validity in one O(nchars) pass. perm must be a true permutation of 1..size(); it is fully validated first (length, range, no duplicates), so a bad permutation aborts before any buffer is touched and the column is left unchanged. The null count is preserved by construction. Invalidates every outstanding handle into the column.

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().