Returns the offset within the row and length of the second and further varbinary fields.
| 133 | /// Returns the offset within the row and length of the second and further varbinary |
| 134 | /// fields. |
| 135 | inline void nth_varbinary_offset_and_length(const uint8_t* row, int varbinary_id, |
| 136 | uint32_t* out_offset, |
| 137 | uint32_t* out_length) const { |
| 138 | ARROW_DCHECK(!is_fixed_length); |
| 139 | ARROW_DCHECK(varbinary_id > 0); |
| 140 | const uint32_t* varbinary_end = varbinary_end_array(row); |
| 141 | uint32_t offset = varbinary_end[varbinary_id - 1]; |
| 142 | offset += padding_for_alignment_within_row(offset, string_alignment); |
| 143 | *out_offset = offset; |
| 144 | *out_length = varbinary_end[varbinary_id] - offset; |
| 145 | } |
| 146 | |
| 147 | uint32_t encoded_field_order(uint32_t icol) const { return column_order[icol]; } |
| 148 |
nothing calls this directly
no test coverage detected