| 857 | } |
| 858 | bool LogicalType::is_invalid() const { return !is_valid(); } |
| 859 | bool LogicalType::is_nested() const { |
| 860 | return impl_->type() == LogicalType::Type::LIST || |
| 861 | impl_->type() == LogicalType::Type::MAP || |
| 862 | impl_->type() == LogicalType::Type::VARIANT; |
| 863 | } |
| 864 | bool LogicalType::is_nonnested() const { return !is_nested(); } |
| 865 | bool LogicalType::is_serialized() const { return impl_->is_serialized(); } |
| 866 |