| 218 | } |
| 219 | |
| 220 | bool SQLBatchRequestResultSet::GetInt32(uint32_t index, int32_t* result) { |
| 221 | if (result == NULL) { |
| 222 | LOG(WARNING) << "input ptr is null pointer"; |
| 223 | return false; |
| 224 | } |
| 225 | if (!IsValidColumnIdx(index)) { |
| 226 | LOG(WARNING) << "column idx out of bound " << index; |
| 227 | return false; |
| 228 | } |
| 229 | size_t mapped_index = column_remap_[index]; |
| 230 | int32_t ret; |
| 231 | if (IsCommonColumnIdx(index)) { |
| 232 | ret = common_row_view_->GetInt32(mapped_index, result); |
| 233 | } else { |
| 234 | ret = non_common_row_view_->GetInt32(mapped_index, result); |
| 235 | } |
| 236 | return ret == 0; |
| 237 | } |
| 238 | |
| 239 | bool SQLBatchRequestResultSet::GetInt64(uint32_t index, int64_t* result) { |
| 240 | if (result == NULL) { |
nothing calls this directly
no outgoing calls
no test coverage detected