| 42 | : registry_(registry), annotator_(annotator), nested_if_else_(false) {} |
| 43 | |
| 44 | Status Decompose(const Node& root, ValueValidityPairPtr* out) { |
| 45 | auto status = root.Accept(*this); |
| 46 | if (status.ok()) { |
| 47 | *out = std::move(result_); |
| 48 | } |
| 49 | return status; |
| 50 | } |
| 51 | |
| 52 | private: |
| 53 | ARROW_DISALLOW_COPY_AND_ASSIGN(ExprDecomposer); |