Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.CumulativeCost
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about the cost of evaluating a relational expression, including
all of its inputs.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Handler API. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionEstimates the cost of executing a relational expression, including the cost of its inputs.
-
Field Details
-
DEF
-
-
Method Details
-
getCumulativeCost
RelOptCost getCumulativeCost()Estimates the cost of executing a relational expression, including the cost of its inputs. The default implementation for this query addsBuiltInMetadata.NonCumulativeCost.getNonCumulativeCost()
to the cumulative cost of each input, but metadata providers can override this with their own cost models, e.g. to take into account interactions between expressions.- Returns:
- estimated cost, or null if no reliable estimate can be determined
-