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

Method ofRules

core/src/main/java/org/apache/calcite/tools/Programs.java:138–140  ·  view source on GitHub ↗

Creates a program from a list of rules.

(RelOptRule... rules)

Source from the content-addressed store, hash-verified

136
137 /** Creates a program from a list of rules. */
138 public static Program ofRules(RelOptRule... rules) {
139 return of(RuleSets.ofList(rules));
140 }
141
142 /** Creates a program from a list of rules. */
143 public static Program ofRules(Iterable<? extends RelOptRule> rules) {

Callers 15

testPlanMethod · 0.95
checkUnionPruningMethod · 0.95
checkTpchQueryMethod · 0.95
testPushProjectToScanMethod · 0.95
testUpdateMethod · 0.95
testLeftMarkJoinMethod · 0.95

Calls 2

ofMethod · 0.95
ofListMethod · 0.95

Tested by 13

testPlanMethod · 0.76
checkUnionPruningMethod · 0.76
checkTpchQueryMethod · 0.76
testPushProjectToScanMethod · 0.76
testUpdateMethod · 0.76
testLeftMarkJoinMethod · 0.76