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

Method AppendDate

src/codec/flat_array.h:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 bool AppendDate(uint64_t data) {
150 if (cur_cnt_ >= col_cnt_) {
151 return false;
152 }
153 memrev64ifbe(static_cast<void*>(&data));
154 Encode(kDate, static_cast<const void*>(&data), 8);
155 cur_cnt_++;
156 return true;
157 }
158
159 bool Append(double data) {
160 if (cur_cnt_ >= col_cnt_) {

Callers

nothing calls this directly

Calls 1

EncodeFunction · 0.85

Tested by

no test coverage detected