Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.NonCumulativeCost
- All Superinterfaces:
Metadata
- Enclosing class:
BuiltInMetadata
Metadata about the cost of evaluating a relational expression, not
including its inputs.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHandler API. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionEstimates the cost of executing a relational expression, not counting the cost of its inputs.
-
Field Details
-
DEF
-
-
Method Details
-
getNonCumulativeCost
RelOptCost getNonCumulativeCost()Estimates the cost of executing a relational expression, not counting the cost of its inputs. (However, the non-cumulative cost is still usually dependent on the row counts of the inputs.)The default implementation for this query asks the rel itself via
RelNode.computeSelfCost(RelOptPlanner, RelMetadataQuery), but metadata providers can override this with their own cost models.- Returns:
- estimated cost, or null if no reliable estimate can be determined
-