MCPcopy Index your code
hub / github.com/apache/orc / getFormatVersion

Method getFormatVersion

c++/src/Reader.cc:694–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692 }
693
694 FileVersion ReaderImpl::getFormatVersion() const {
695 if (contents_->postscript->version_size() != 2) {
696 return FileVersion::v_0_11();
697 }
698 return {contents_->postscript->version(0), contents_->postscript->version(1)};
699 }
700
701 uint64_t ReaderImpl::getNumberOfRows() const {
702 return footer_->number_of_rows();

Callers 4

TEST_PFunction · 0.80
TESTFunction · 0.80
printMetadataFunction · 0.80
TEST_PFunction · 0.80

Calls 1

versionMethod · 0.80

Tested by 3

TEST_PFunction · 0.64
TESTFunction · 0.64
TEST_PFunction · 0.64