Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Public Interfaces

Interface change

Modify DataTypeHint to support specifying whether the parameter is optionalIntroduce a new annotation to specify the parameter name, whether it is optional, and potentially support specifying default values in the future.

Code Block
languagejava
@PublicEvolving

@Retention(RetentionPolicy.RUNTIME)

@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})

public @interface DataTypeHintArgumentHint {

     output = @DataTypeHint("STRING"),

     /**
     *   Used to indicate whether the parameter is optional or not.
     */

   
    String name() default "";

    boolean isOptional() default true;

}




For function developer and call procedure developer 

...