MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / GetInt64

Method GetInt64

src/codec/codec.cc:591–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591int32_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
606int32_t RowView::GetInt16(uint32_t idx, int16_t* val) {
607 if (val == NULL) {

Callers 10

CompareRowFunction · 0.45
CompareRowFunction · 0.45
DecodeRowMethod · 0.45
TEST_FFunction · 0.45
ProjectMethod · 0.45
PrintResultSetFunction · 0.45
AppendJsonValueMethod · 0.45
WriteValueFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

GetInt64FieldFunction · 0.85

Tested by 5

CompareRowFunction · 0.36
CompareRowFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36