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

Class Field

cpp/gdb_arrow.py:573–594  ·  view source on GitHub ↗

A arrow::Field value.

Source from the content-addressed store, hash-verified

571
572
573class Field:
574 """
575 A arrow::Field value.
576 """
577
578 def __init__(self, val):
579 self.val = val
580
581 @property
582 def name(self):
583 return StdString(self.val['name_'])
584
585 @property
586 def type(self):
587 return deref(self.val['type_'])
588
589 @property
590 def nullable(self):
591 return bool(self.val['nullable_'])
592
593 def __str__(self):
594 return str(self.val)
595
596
597class FieldPtr(Field):

Callers 2

__getitem__Method · 0.70
to_stringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected