Typed form of %get, generic over an int32 or int64 index/count argument.
int32 specific of get; see the get generic.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(parquet_string_column), | intent(in) | :: | self |
the column. |
||
| integer(kind=int32), | intent(in) | :: | i |
1-based element index. |
||
| character(len=:), | intent(out), | allocatable | :: | res |
element i (unallocated if null and allowed). |
|
| character(len=*), | intent(in), | optional | :: | null_value |
substitute returned for a null element. |
|
| logical, | intent(in), | optional | :: | allow_null |
.true. => suppress abort, return empty string for a null. |
int64 specific of get: writes element i into res. A null element error stops by
default; pass null_value to substitute a string, or allow_null=.true. to suppress the
abort and return an empty string (detect null via is_null). When both are given,
null_value takes precedence. A subroutine (not a function) so this never returns
character(len=:), allocatable as a function result -- see "Build and compiler notes" in
CLAUDE.md for why.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(parquet_string_column), | intent(in) | :: | self |
the column. |
||
| integer(kind=int64), | intent(in) | :: | i |
1-based element index. |
||
| character(len=:), | intent(out), | allocatable | :: | res |
element i (unallocated if null and allowed). |
|
| character(len=*), | intent(in), | optional | :: | null_value |
substitute returned for a null element. |
|
| logical, | intent(in), | optional | :: | allow_null |
.true. => suppress abort, return empty string for a null. |