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

Method GetSubtreeExpression

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

Convert an encoded subtree or guarantee back into an expression.

Source from the content-addressed store, hash-verified

105
106 // Convert an encoded subtree or guarantee back into an expression.
107 compute::Expression GetSubtreeExpression(const Encoded& encoded_subtree) {
108 // Filters will already be simplified by all of a subtree's ancestors, so
109 // we only need to simplify the filter by the trailing conjunction member
110 // of each subtree.
111 return code_to_expr_[encoded_subtree.guarantee.back()];
112 }
113
114 // Insert subtrees for each component of an encoded partition expression.
115 void GenerateSubtrees(expression_codes guarantee, std::vector<Encoded>* encoded) {

Callers 2

TESTFunction · 0.80
SetupSubtreePruningMethod · 0.80

Calls 1

backMethod · 0.80

Tested by 1

TESTFunction · 0.64