MCPcopy Create free account
hub / github.com/apache/impala / Serialize

Method Serialize

be/src/util/roaring-bitmap.h:203–205  ·  view source on GitHub ↗

Serializes this bitmap to 'buf'. Caller must ensure that 'buf' has at least 'BitmapSizeInBytes()' bytes.

Source from the content-addressed store, hash-verified

201 /// Serializes this bitmap to 'buf'.
202 /// Caller must ensure that 'buf' has at least 'BitmapSizeInBytes()' bytes.
203 uint64_t Serialize(uint8_t* buf) {
204 return roaring64_bitmap_portable_serialize(rbitmap_, reinterpret_cast<char*>(buf));
205 }
206
207 /// Deserializes roaring bitmap from 'buf' up to 'max_bytes'. It returns non-OK
208 /// status on deserialization errors, in which case 'result' remains untouched.

Callers 1

Calls

no outgoing calls

Tested by 1