MCPcopy Create free account
hub / github.com/bytedance/bolt / flushNulls

Method flushNulls

bolt/serializers/PrestoSerializer.cpp:1574–1583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572 }
1573
1574 void flushNulls(OutputStream* out) {
1575 if (!nullCount_) {
1576 char zero = 0;
1577 out->write(&zero, 1);
1578 } else {
1579 char one = 1;
1580 out->write(&one, 1);
1581 nulls_.flush(out);
1582 }
1583 }
1584
1585 bool isLongDecimal() const {
1586 return isLongDecimal_;

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected