| 47 | const int* source_to_base; |
| 48 | const int* base_to_target; |
| 49 | inline int get(int i) const { |
| 50 | assert(i >= 0 && i < num_cols); |
| 51 | assert(source_to_base[i] != kMissingField); |
| 52 | return base_to_target[source_to_base[i]]; |
| 53 | } |
| 54 | }; |
| 55 | |
| 56 | /// Helper class for managing different projections of the same row schema. |
no outgoing calls