Class BeamTableStatistics
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.BeamTableStatistics
- All Implemented Interfaces:
Serializable
,org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
@Internal
public class BeamTableStatistics
extends Object
implements Serializable, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
This class stores row count statistics.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BeamTableStatistics
static final BeamTableStatistics
-
Method Summary
Modifier and TypeMethodDescriptionstatic BeamTableStatistics
createBoundedTableStatistics
(Double rowCount) static BeamTableStatistics
List
<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelCollation> org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelDistribution
List
<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.util.ImmutableBitSet> getKeys()
getRate()
List
<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelReferentialConstraint> boolean
isKey
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.util.ImmutableBitSet columns) boolean
-
Field Details
-
BOUNDED_UNKNOWN
-
UNBOUNDED_UNKNOWN
-
-
Method Details
-
createBoundedTableStatistics
-
createUnboundedTableStatistics
-
getRate
-
isUnknown
public boolean isUnknown() -
getRowCount
- Specified by:
getRowCount
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-
isKey
public boolean isKey(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.util.ImmutableBitSet columns) - Specified by:
isKey
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-
getKeys
public List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.util.ImmutableBitSet> getKeys()- Specified by:
getKeys
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-
getReferentialConstraints
public List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelReferentialConstraint> getReferentialConstraints()- Specified by:
getReferentialConstraints
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-
getCollations
public List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelCollation> getCollations()- Specified by:
getCollations
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-
getDistribution
public org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelDistribution getDistribution()- Specified by:
getDistribution
in interfaceorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic
-