A arrow::ExtensionType.
| 959 | |
| 960 | |
| 961 | class ExtensionType: |
| 962 | """ |
| 963 | A arrow::ExtensionType. |
| 964 | """ |
| 965 | |
| 966 | def __init__(self, val): |
| 967 | self.val = val |
| 968 | |
| 969 | @property |
| 970 | def storage_type(self): |
| 971 | return deref(self.val['storage_type_']) |
| 972 | |
| 973 | def to_string(self): |
| 974 | """ |
| 975 | The result of calling ToString(show_metadata=True). |
| 976 | """ |
| 977 | # XXX `show_metadata` is an optional argument, but gdb doesn't allow |
| 978 | # omitting it. |
| 979 | return StdString(gdb.parse_and_eval( |
| 980 | f"{for_evaluation(self.val)}.ToString(true)")) |
| 981 | |
| 982 | |
| 983 | class Schema: |
no outgoing calls
no test coverage detected