| 102 | class InputState { |
| 103 | public: |
| 104 | InputState(size_t index, BackpressureHandler handler, |
| 105 | const std::shared_ptr<arrow::Schema>& schema, const int time_col_index) |
| 106 | : index_(index), |
| 107 | queue_(std::move(handler)), |
| 108 | schema_(schema), |
| 109 | time_col_index_(time_col_index), |
| 110 | time_type_id_(schema_->fields()[time_col_index_]->type()->id()) {} |
| 111 | |
| 112 | template <typename PtrType> |
| 113 | static arrow::Result<PtrType> Make(size_t index, arrow::acero::ExecNode* input, |