parquet_string_column_has_validity Function

public function parquet_string_column_has_validity(self)

Whether the validity bitmap has been materialized yet.

A column with no bitmap has every element valid; the bitmap is allocated lazily, the first time an element is actually nulled. So this answers "would nulling an element allocate?", which is what a caller about to null elements from several threads needs to know -- see reserve_validity.

Arguments

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

the column.

Return Value logical


Source Code

    logical function parquet_string_column_has_validity(self)
        type(parquet_string_column), intent(in) :: self !! the column.
        parquet_string_column_has_validity = allocated(self%validity)
    end function parquet_string_column_has_validity