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

Method EncodeOneGuarantee

cpp/src/arrow/dataset/subtree_internal.h:126–132  ·  view source on GitHub ↗

Encode a guarantee, and generate subtrees for it as well.

Source from the content-addressed store, hash-verified

124
125 // Encode a guarantee, and generate subtrees for it as well.
126 void EncodeOneGuarantee(int index, const Expression& guarantee,
127 std::vector<Encoded>* encoded) {
128 Encoded encoded_guarantee{index, {}};
129 EncodeConjunctionMembers(guarantee, &encoded_guarantee.guarantee);
130 GenerateSubtrees(encoded_guarantee.guarantee, encoded);
131 encoded->push_back(std::move(encoded_guarantee));
132 }
133
134 template <typename GetGuarantee>
135 std::vector<Encoded> EncodeGuarantees(const GetGuarantee& get, int count) {

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected