MCPcopy Create free account
hub / github.com/apache/calcite / flatten

Method flatten

core/src/main/java/org/apache/calcite/sql/SqlUtil.java:118–122  ·  view source on GitHub ↗
(SqlNode node)

Source from the content-addressed store, hash-verified

116 }
117
118 static ArrayList<SqlNode> flatten(SqlNode node) {
119 ArrayList<SqlNode> list = new ArrayList<>();
120 flatten(node, list);
121 return list;
122 }
123
124 /**
125 * Returns the <code>n</code>th (0-based) input to a join expression.

Callers 1

getFromNodeMethod · 0.95

Calls 5

getLeftMethod · 0.95
getRightMethod · 0.95
operandMethod · 0.95
addMethod · 0.65
getKindMethod · 0.45

Tested by

no test coverage detected