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