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

Class Field

cpp/gdb_arrow.py:571–592  ·  view source on GitHub ↗

A arrow::Field value.

Source from the content-addressed store, hash-verified

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

Callers 2

__getitem__Method · 0.70
to_stringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected