Package io.trino.sql.planner
Class DomainCoercer
java.lang.Object
io.trino.sql.planner.DomainCoercer
Apply saturated floor casts for implicit coercions on TupleDomain.
This class does not handle Float.NaN and Double.NaN because
currently it is used only in dynamic filtering where NaNs are not part of TupleDomain.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainapplySaturatedCasts(Metadata metadata, FunctionManager functionManager, TypeOperators typeOperators, Session session, Domain domain, Type coercedValueType)
-
Method Details
-
applySaturatedCasts
public static Domain applySaturatedCasts(Metadata metadata, FunctionManager functionManager, TypeOperators typeOperators, Session session, Domain domain, Type coercedValueType)
-