\brief Flatten all level recursively until reach a non-list type, and return a non-list type Array. \see internal::FlattenLogicalListRecursively
| 118 | /// |
| 119 | /// \see internal::FlattenLogicalListRecursively |
| 120 | Result<std::shared_ptr<Array>> FlattenRecursively( |
| 121 | MemoryPool* memory_pool = default_memory_pool()) const { |
| 122 | return internal::FlattenLogicalListRecursively(*this, memory_pool); |
| 123 | } |
| 124 | |
| 125 | protected: |
| 126 | friend void internal::SetListData<TYPE>(VarLengthListLikeArray<TYPE>* self, |