Interface TypeResolver


  • @API(status=STABLE)
    public interface TypeResolver
    Allows lazy resolution and validation of the type of a data table or doc string argument.
    • Method Detail

      • resolve

        Type resolve()
              throws RuntimeException
        A type to convert the data table or doc string to.

        May throw an exception when the type could not adequately be determined for instance due to a lack of generic information. If a value is return it must be the same as ParameterInfo.getType()

        When the Object type is returned no transform will be applied to the data table or doc string.

        Returns:
        a type
        Throws:
        RuntimeException - when the type could not adequately be determined