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

Method of

core/src/main/java/org/apache/calcite/schema/Statistics.java:42–45  ·  view source on GitHub ↗

Returns a statistic with a given set of referential constraints.

(@Nullable List<RelReferentialConstraint> referentialConstraints)

Source from the content-addressed store, hash-verified

40
41 /** Returns a statistic with a given set of referential constraints. */
42 public static Statistic of(@Nullable List<RelReferentialConstraint> referentialConstraints) {
43 return of(null, null,
44 referentialConstraints, null);
45 }
46
47 /** Returns a statistic with a given row count and set of unique keys. */
48 public static Statistic of(final double rowCount,

Callers 15

getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
getStatisticMethod · 0.95
createTableMapMethod · 0.95
fieldRelationMethod · 0.95
getStatisticMethod · 0.95

Calls 2

ofMethod · 0.65
copyOfMethod · 0.65

Tested by 8

getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76
getStatisticMethod · 0.76