Interface LimitableTableSource<T>
Deprecated.
Adds support for limiting push-down to a
TableSource. A TableSource extending
this interface is able to limit the number of records.
After pushing down, source only needs to try its best to limit the number of output records, but does not need to guarantee that the number must be less than or equal to the limit.
-
Method Summary
Modifier and TypeMethodDescriptionapplyLimit(long limit) Deprecated.Check and push down the limit to the table source.booleanDeprecated.Return the flag to indicate whether limit push down has been tried.
-
Method Details
-
isLimitPushedDown
boolean isLimitPushedDown()Deprecated.Return the flag to indicate whether limit push down has been tried. Must return true on the returned instance ofapplyLimit(long). -
applyLimit
Deprecated.Check and push down the limit to the table source.- Parameters:
limit- the value which limit the number of records.- Returns:
- A new cloned instance of
TableSource.
-
DynamicTableSource. UseSupportsLimitPushDowninstead. See FLIP-95 for more information.