Class TypeInferenceExtractor

java.lang.Object
org.apache.flink.table.types.extraction.TypeInferenceExtractor

@Internal public final class TypeInferenceExtractor extends Object
Reflection-based utility for extracting a TypeInference from a supported subclass of UserDefinedFunction.

The behavior of this utility can be influenced by DataTypeHints and FunctionHints which have higher precedence than the reflective information.

Note: This utility assumes that functions have been validated before regarding accessibility of class/methods and serializability.