MCPcopy Create free account
hub / github.com/apache/orc / getBlockNumber

Method getBlockNumber

c++/src/BlockBuffer.hh:96–98  ·  view source on GitHub ↗

* Get the number of blocks that are fully or partially occupied */

Source from the content-addressed store, hash-verified

94 * Get the number of blocks that are fully or partially occupied
95 */
96 uint64_t getBlockNumber() const {
97 return (currentSize_ + blockSize_ - 1) / blockSize_;
98 }
99
100 uint64_t size() const {
101 return currentSize_;

Callers 4

TESTFunction · 0.80
writeToOutputStreamFunction · 0.80
compressInternalMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
writeToOutputStreamFunction · 0.64