Class FederationTableStatistic

java.lang.Object
org.apache.shardingsphere.infra.federation.executor.original.FederationTableStatistic
All Implemented Interfaces:
org.apache.calcite.schema.Statistic

public final class FederationTableStatistic extends Object implements org.apache.calcite.schema.Statistic
Statistic of federation table.
  • Constructor Details

    • FederationTableStatistic

      public FederationTableStatistic()
  • Method Details

    • getRowCount

      public Double getRowCount()
      Specified by:
      getRowCount in interface org.apache.calcite.schema.Statistic
    • isKey

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

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

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

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

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