Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.PercentageOriginalRows
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about the proportion of original rows that remain in a relational
expression.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Handler API. -
Field Summary
Modifier and TypeFieldDescriptionstatic final MetadataDef<BuiltInMetadata.PercentageOriginalRows>
-
Method Summary
Modifier and TypeMethodDescription@Nullable Double
Estimates the percentage of the number of rows actually produced by a relational expression out of the number of rows it would produce if all single-table filter conditions were removed.
-
Field Details
-
DEF
-
-
Method Details
-
getPercentageOriginalRows
@Nullable Double getPercentageOriginalRows()Estimates the percentage of the number of rows actually produced by a relational expression out of the number of rows it would produce if all single-table filter conditions were removed.- Returns:
- estimated percentage (between 0.0 and 1.0), or null if no reliable estimate can be determined
-