| 589 | } |
| 590 | |
| 591 | int32_t RowView::GetInt64(uint32_t idx, int64_t* val) { |
| 592 | if (val == NULL) { |
| 593 | return -1; |
| 594 | } |
| 595 | if (!CheckValid(idx, ::fedb::type::kBigInt)) { |
| 596 | return -1; |
| 597 | } |
| 598 | if (IsNULL(row_, idx)) { |
| 599 | return 1; |
| 600 | } |
| 601 | uint32_t offset = offset_vec_.at(idx); |
| 602 | *val = v1::GetInt64Field(row_, offset); |
| 603 | return 0; |
| 604 | } |
| 605 | |
| 606 | int32_t RowView::GetInt16(uint32_t idx, int16_t* val) { |
| 607 | if (val == NULL) { |