Class Foldables.TypeResolutionValidator

java.lang.Object
org.elasticsearch.xpack.esql.expression.Foldables.TypeResolutionValidator
Enclosing class:
Foldables

public static class Foldables.TypeResolutionValidator extends Object
A utility class to validate the type resolution of expressions before and after logical planning. If null is passed for Failures to the constructor, it means we are only type resolution. This is usually called when doing pre-logical planning validation. If a Failures instance is passed, it means we are doing post-logical planning validation as well. This is usually called after folding is done, during PostOptimizationVerificationAware verification