Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.MaxRowCount
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about the maximum 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 max number of rows which will be returned by a relational expression.
-
Field Details
-
DEF
-
-
Method Details
-
getMaxRowCount
@Nullable Double getMaxRowCount()Estimates the max number of rows which will be returned by a relational expression.The default implementation for this query returns
Double.POSITIVE_INFINITY
, but metadata providers can override this with their own cost models.- Returns:
- upper bound on the number of rows returned
-