Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.RowCount
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about the number of rows returned by a relational expression.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Handler API. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Double
Estimates the number of rows which will be returned by a relational expression.
-
Field Details
-
DEF
-
-
Method Details
-
getRowCount
@Nullable Double getRowCount()Estimates the number of rows which will be returned by a relational expression. The default implementation for this query asks the rel itself viaRelNode.estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery)
, but metadata providers can override this with their own cost models.- Returns:
- estimated row count, or null if no reliable estimate can be determined
-