MCPcopy Create free account
hub / github.com/apache/arrow / ExtensionType

Class ExtensionType

cpp/gdb_arrow.py:961–980  ·  view source on GitHub ↗

A arrow::ExtensionType.

Source from the content-addressed store, hash-verified

959
960
961class 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
983class Schema:

Callers 4

to_stringMethod · 0.70
to_stringMethod · 0.70
generate_extension_caseFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected