Class BeamTableStatistics

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic

    @Internal
    public class BeamTableStatistics
    extends java.lang.Object
    implements java.io.Serializable, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
    This class stores row count statistics.
    See Also:
    Serialized Form
    • Method Detail

      • createBoundedTableStatistics

        public static BeamTableStatistics createBoundedTableStatistics​(java.lang.Double rowCount)
      • createUnboundedTableStatistics

        public static BeamTableStatistics createUnboundedTableStatistics​(java.lang.Double rate)
      • getRate

        public java.lang.Double getRate()
      • isUnknown

        public boolean isUnknown()
      • getRowCount

        public java.lang.Double getRowCount()
        Specified by:
        getRowCount in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
      • isKey

        public boolean isKey​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.util.ImmutableBitSet columns)
        Specified by:
        isKey in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
      • getKeys

        public java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.util.ImmutableBitSet> getKeys()
        Specified by:
        getKeys in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
      • getReferentialConstraints

        public java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelReferentialConstraint> getReferentialConstraints()
        Specified by:
        getReferentialConstraints in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
      • getCollations

        public java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelCollation> getCollations()
        Specified by:
        getCollations in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic
      • getDistribution

        public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelDistribution getDistribution()
        Specified by:
        getDistribution in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Statistic