| 72 | } |
| 73 | |
| 74 | ExecBatch::ExecBatch(const RecordBatch& batch) |
| 75 | : values(batch.num_columns()), length(batch.num_rows()) { |
| 76 | auto columns = batch.column_data(); |
| 77 | std::move(columns.begin(), columns.end(), values.begin()); |
| 78 | } |
| 79 | |
| 80 | bool ExecBatch::Equals(const ExecBatch& other) const { |
| 81 | return guarantee == other.guarantee && values == other.values; |