Interface CardinalityEstimation
- All Known Implementing Classes:
CardinalityEstimationImpl
,MinBasedCardinalityEstimationImpl
public interface CardinalityEstimation
This interface represents cardinality estimators that can estimate
the cardinality of the result that will be produced by query plans.
Different implementations of this interface may apply different
approaches to estimate the cardinality.
-
Method Summary
Modifier and TypeMethodDescriptionAsynchronous method that initiates a process to estimate the cardinality of the result that will be produced by the given plan.
-
Method Details
-
initiateCardinalityEstimation
Asynchronous method that initiates a process to estimate the cardinality of the result that will be produced by the given plan. The actual estimate can then be obtained by using theget()
method of the returned CompletableFuture. For some helper methods that wrap calls to this method and provide its functionality as synchronous functions, refer toCardinalityEstimationUtils
.
-