Package io.trino.spi.connector
Class ConstraintApplicationResult<T>
java.lang.Object
io.trino.spi.connector.ConstraintApplicationResult<T>
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintApplicationResult
(T handle, TupleDomain<ColumnHandle> remainingFilter, boolean precalculateStatistics) ConstraintApplicationResult
(T handle, TupleDomain<ColumnHandle> remainingFilter, ConnectorExpression remainingExpression, boolean precalculateStatistics) -
Method Summary
-
Constructor Details
-
ConstraintApplicationResult
public ConstraintApplicationResult(T handle, TupleDomain<ColumnHandle> remainingFilter, 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
.
-
ConstraintApplicationResult
public ConstraintApplicationResult(T handle, TupleDomain<ColumnHandle> remainingFilter, ConnectorExpression remainingExpression, boolean precalculateStatistics) - Parameters:
remainingExpression
- the remaining expression, which will be AND-ed withremainingFilter
,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 Details
-
getHandle
-
getRemainingFilter
-
getRemainingExpression
-
isPrecalculateStatistics
public boolean isPrecalculateStatistics() -
transform
-