Package io.trino.spi.connector
Class LimitApplicationResult<T>
- java.lang.Object
-
- io.trino.spi.connector.LimitApplicationResult<T>
-
public class LimitApplicationResult<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description LimitApplicationResult(T handle, boolean limitGuaranteed, boolean precalculateStatistics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getHandle()
boolean
isLimitGuaranteed()
boolean
isPrecalculateStatistics()
-
-
-
Constructor Detail
-
LimitApplicationResult
public LimitApplicationResult(T handle, boolean limitGuaranteed, boolean precalculateStatistics)
- Parameters:
precalculateStatistics
- Indicates whether engine should consider calculating statistics based on the plan before pushdown, as the connector may be unable to provide good table statistics forhandle
.
-
-
Method Detail
-
getHandle
public T getHandle()
-
isLimitGuaranteed
public boolean isLimitGuaranteed()
-
isPrecalculateStatistics
public boolean isPrecalculateStatistics()
-
-