A arrow::Field value.
| 571 | |
| 572 | |
| 573 | class 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 | |
| 597 | class FieldPtr(Field): |
no outgoing calls
no test coverage detected