MCPcopy Create free account
hub / github.com/apache/arrow / CreateFooterDirect

Function CreateFooterDirect

cpp/src/generated/File_generated.h:156–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156inline ::flatbuffers::Offset<Footer> CreateFooterDirect(
157 ::flatbuffers::FlatBufferBuilder &_fbb,
158 org::apache::arrow::flatbuf::MetadataVersion version = org::apache::arrow::flatbuf::MetadataVersion_V1,
159 ::flatbuffers::Offset<org::apache::arrow::flatbuf::Schema> schema = 0,
160 const std::vector<org::apache::arrow::flatbuf::Block> *dictionaries = nullptr,
161 const std::vector<org::apache::arrow::flatbuf::Block> *recordBatches = nullptr,
162 const std::vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>> *custom_metadata = nullptr) {
163 auto dictionaries__ = dictionaries ? _fbb.CreateVectorOfStructs<org::apache::arrow::flatbuf::Block>(*dictionaries) : 0;
164 auto recordBatches__ = recordBatches ? _fbb.CreateVectorOfStructs<org::apache::arrow::flatbuf::Block>(*recordBatches) : 0;
165 auto custom_metadata__ = custom_metadata ? _fbb.CreateVector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>>(*custom_metadata) : 0;
166 return org::apache::arrow::flatbuf::CreateFooter(
167 _fbb,
168 version,
169 schema,
170 dictionaries__,
171 recordBatches__,
172 custom_metadata__);
173}
174
175inline const org::apache::arrow::flatbuf::Footer *GetFooter(const void *buf) {
176 return ::flatbuffers::GetRoot<org::apache::arrow::flatbuf::Footer>(buf);

Callers

nothing calls this directly

Calls 1

CreateFooterFunction · 0.85

Tested by

no test coverage detected