| 815 | /// the join row-by-row |
| 816 | template <size_t MAX_TABLES> |
| 817 | class CompositeTableBuilder { |
| 818 | using SliceBuilder = UnmaterializedSliceBuilder<MAX_TABLES>; |
| 819 | using CompositeTable = UnmaterializedCompositeTable<MAX_TABLES>; |
| 820 | |
| 821 | public: |
| 822 | NDEBUG_EXPLICIT CompositeTableBuilder( |
| 823 | const std::vector<std::unique_ptr<InputState>>& inputs, |
| 824 | const std::shared_ptr<Schema>& schema, arrow::MemoryPool* pool, |
| 825 | DEBUG_ADD(size_t n_tables, AsofJoinNode* node)) |
| 826 | : unmaterialized_table(InitUnmaterializedTable(schema, inputs, pool)), |
| 827 | DEBUG_ADD(n_tables_(n_tables), node_(node)) { |
| 828 | DCHECK_GE(n_tables_, 1); |
| 829 | DCHECK_LE(n_tables_, MAX_TABLES); |
| 830 | } |
| 831 | |
| 832 | size_t n_rows() const { return unmaterialized_table.Size(); } |
| 833 |
nothing calls this directly
no test coverage detected