@Experimental @Internal public class BeamTableStatistics extends java.lang.Object implements java.io.Serializable, org.apache.calcite.schema.Statistic
Modifier and Type | Field and Description |
---|---|
static BeamTableStatistics |
UNBOUNDED_UNKNOWN |
static BeamTableStatistics |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static BeamTableStatistics |
createBoundedTableStatistics(java.lang.Double rowCount) |
static BeamTableStatistics |
createUnboundedTableStatistics(java.lang.Double rate) |
java.util.List<org.apache.calcite.rel.RelCollation> |
getCollations() |
org.apache.calcite.rel.RelDistribution |
getDistribution() |
java.lang.Double |
getRate() |
java.util.List<org.apache.calcite.rel.RelReferentialConstraint> |
getReferentialConstraints() |
java.lang.Double |
getRowCount() |
boolean |
isKey(org.apache.calcite.util.ImmutableBitSet columns) |
boolean |
isUnknown() |
public static final BeamTableStatistics UNKNOWN
public static final BeamTableStatistics UNBOUNDED_UNKNOWN
public static BeamTableStatistics createBoundedTableStatistics(java.lang.Double rowCount)
public static BeamTableStatistics createUnboundedTableStatistics(java.lang.Double rate)
public java.lang.Double getRate()
public boolean isUnknown()
public java.lang.Double getRowCount()
getRowCount
in interface org.apache.calcite.schema.Statistic
public boolean isKey(org.apache.calcite.util.ImmutableBitSet columns)
isKey
in interface org.apache.calcite.schema.Statistic
public java.util.List<org.apache.calcite.rel.RelReferentialConstraint> getReferentialConstraints()
getReferentialConstraints
in interface org.apache.calcite.schema.Statistic
public java.util.List<org.apache.calcite.rel.RelCollation> getCollations()
getCollations
in interface org.apache.calcite.schema.Statistic
public org.apache.calcite.rel.RelDistribution getDistribution()
getDistribution
in interface org.apache.calcite.schema.Statistic