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

Method project

core/src/main/java/org/apache/calcite/rel/RelRoot.java:156–158  ·  view source on GitHub ↗

Returns the root relational expression, creating a LogicalProject if necessary to remove fields that are not needed.

()

Source from the content-addressed store, hash-verified

154 /** Returns the root relational expression, creating a {@link LogicalProject}
155 * if necessary to remove fields that are not needed. */
156 public RelNode project() {
157 return project(false);
158 }
159
160 /** Returns the root relational expression as a {@link LogicalProject}.
161 *

Callers 10

addQueryMethod · 0.95
returnsRowsMethod · 0.95
testLargeMethod · 0.95
addQueryMethod · 0.95
testRelRootProjectDdlMethod · 0.95
convertMultisetsMethod · 0.95
convertExpressionMethod · 0.95
assertSqlConvertsToMethod · 0.95

Calls 12

isRefTrivialMethod · 0.95
isNameTrivialMethod · 0.95
makeInputRefMethod · 0.95
createMethod · 0.95
containsMethod · 0.65
sizeMethod · 0.65
getRexBuilderMethod · 0.65
getClusterMethod · 0.65
forEachMethod · 0.65
addMethod · 0.65
rightListMethod · 0.65
ofMethod · 0.65

Tested by 8

addQueryMethod · 0.76
returnsRowsMethod · 0.76
testLargeMethod · 0.76
addQueryMethod · 0.76
testRelRootProjectDdlMethod · 0.76
assertSqlConvertsToMethod · 0.76