MCPcopy Create free account
hub / github.com/apache/cloudberry / get_rightop

Function get_rightop

src/include/nodes/nodeFuncs.h:84–93  ·  view source on GitHub ↗

Extract right arg of a binary opclause (NULL if it's a unary opclause) */

Source from the content-addressed store, hash-verified

82
83/* Extract right arg of a binary opclause (NULL if it's a unary opclause) */
84static inline Node *
85get_rightop(const void *clause)
86{
87 const OpExpr *expr = (const OpExpr *) clause;
88
89 if (list_length(expr->args) >= 2)
90 return (Node *) lsecond(expr->args);
91 else
92 return NULL;
93}
94
95/* Is clause an AND clause? */
96static inline bool

Callers 15

ProcessOpExprMethod · 0.85
mergejoinscanselFunction · 0.85
print_exprFunction · 0.85
MakeTidOpExprFunction · 0.85
ExecIndexBuildScanKeysFunction · 0.85
TidExprListCreateFunction · 0.85
rel_is_distinct_forFunction · 0.85
addRangeClauseFunction · 0.85
gen_implied_qualsFunction · 0.85

Calls 1

list_lengthFunction · 0.85

Tested by 1