Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.PercentageOriginalRows
-
- All Superinterfaces:
Metadata
- All Known Subinterfaces:
BuiltInMetadata.All
- Enclosing class:
- BuiltInMetadata
public static interface BuiltInMetadata.PercentageOriginalRows extends Metadata
Metadata about the proportion of original rows that remain in a relational expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BuiltInMetadata.PercentageOriginalRows.Handler
Handler API.
-
Field Summary
Fields Modifier and Type Field Description static MetadataDef<BuiltInMetadata.PercentageOriginalRows>
DEF
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.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.
-
-
-
Field Detail
-
DEF
static final MetadataDef<BuiltInMetadata.PercentageOriginalRows> DEF
-
-
Method Detail
-
getPercentageOriginalRows
java.lang.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
-
-