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

Method sql

core/src/main/java/org/apache/calcite/materialize/Lattice.java:248–250  ·  view source on GitHub ↗

Generates a SQL query to populate a tile of the lattice specified by a given set of columns and measures.

(ImmutableBitSet groupSet, List<Measure> aggCallList)

Source from the content-addressed store, hash-verified

246 /** Generates a SQL query to populate a tile of the lattice specified by a
247 * given set of columns and measures. */
248 public String sql(ImmutableBitSet groupSet, List<Measure> aggCallList) {
249 return sql(groupSet, true, aggCallList);
250 }
251
252 /** Generates a SQL query to populate a tile of the lattice specified by a
253 * given set of columns and measures, optionally grouping. */

Callers 8

testLatticeSqlMethod · 0.95
countSqlMethod · 0.95
defineTileMethod · 0.45

Calls 15

rangeMethod · 0.95
createSqlWriterMethod · 0.95
resolveFieldMethod · 0.95
toSqlMethod · 0.95
withMethod · 0.95
defaultAliasMethod · 0.95
rebuildMethod · 0.80
quoteIdentifierMethod · 0.80
getDialectMethod · 0.65
setMethod · 0.65
buildMethod · 0.65
addMethod · 0.65

Tested by 5

testLatticeSqlMethod · 0.76