| 845 | } |
| 846 | bool LogicalType::is_invalid() const { return !is_valid(); } |
| 847 | bool LogicalType::is_nested() const { |
| 848 | return impl_->type() == LogicalType::Type::LIST || |
| 849 | impl_->type() == LogicalType::Type::MAP || |
| 850 | impl_->type() == LogicalType::Type::VARIANT; |
| 851 | } |
| 852 | bool LogicalType::is_nonnested() const { return !is_nested(); } |
| 853 | bool LogicalType::is_serialized() const { return impl_->is_serialized(); } |
| 854 |