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

Method __init__

cpp/gdb_arrow.py:1004–1010  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

1002 """
1003
1004 def __init__(self, val):
1005 # XXX this relies on Table always being a SimpleTable under the hood.
1006 # What if users create their own Table implementation?
1007 self.val = cast_to_concrete(val,
1008 gdb.lookup_type("arrow::SimpleTable"))
1009 self.schema = Schema(deref(self.val['schema_']))
1010 self.columns = StdPtrVector(self.val['columns_'])
1011
1012 @property
1013 def num_rows(self):

Callers

nothing calls this directly

Calls 4

cast_to_concreteFunction · 0.85
derefFunction · 0.85
StdPtrVectorClass · 0.85
SchemaClass · 0.70

Tested by

no test coverage detected