Package org.apache.calcite.schema
Class Statistics
java.lang.Object
org.apache.calcite.schema.Statistics
Utility functions regarding
Statistic
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Statistic
of
(double rowCount, @Nullable List<ImmutableBitSet> keys) Returns a statistic with a given row count and set of unique keys.static Statistic
of
(double rowCount, @Nullable List<ImmutableBitSet> keys, @Nullable List<RelCollation> collations) Returns a statistic with a given row count, set of unique keys, and collations.static Statistic
of
(@Nullable Double rowCount, @Nullable List<ImmutableBitSet> keys, @Nullable List<RelReferentialConstraint> referentialConstraints, @Nullable List<RelCollation> collations) Returns a statistic with a given row count, set of unique keys, referential constraints, and collations.static Statistic
of
(@Nullable List<RelReferentialConstraint> referentialConstraints) Returns a statistic with a given set of referential constraints.
-
Field Details
-
UNKNOWN
Returns aStatistic
that knows nothing about a table.
-
-
Method Details
-
of
Returns a statistic with a given set of referential constraints. -
of
Returns a statistic with a given row count and set of unique keys. -
of
public static Statistic of(double rowCount, @Nullable List<ImmutableBitSet> keys, @Nullable List<RelCollation> collations) Returns a statistic with a given row count, set of unique keys, and collations. -
of
public static Statistic of(@Nullable Double rowCount, @Nullable List<ImmutableBitSet> keys, @Nullable List<RelReferentialConstraint> referentialConstraints, @Nullable List<RelCollation> collations) Returns a statistic with a given row count, set of unique keys, referential constraints, and collations.
-