| 25 | } |
| 26 | |
| 27 | static void checkOutOfRange(idx_t idx, idx_t size) { |
| 28 | if (idx >= size) { |
| 29 | throw RuntimeException(std::format( |
| 30 | "ValIdx is out of range. Number of values in flatTuple: {}, valIdx: {}.", size, idx)); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | Value* FlatTuple::getValue(uint32_t idx) { |
| 35 | checkOutOfRange(idx, len()); |
no outgoing calls
no test coverage detected