Annotation Interface SqlNullable


@Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface SqlNullable
Indicates a parameter or return value can be NULL.

@SqlNullable annotation, when placed on a parameter of a ScalarFunction or ScalarOperator method, indicates that the method should be called also when the parameter is NULL. In the absence of @SqlNullable annotation, the engine assumes the implemented SQL function or operator is supposed to return NULL when given parameter is NULL and does not call the implementing method.

@SqlNullable placed on a ScalarFunction method indicates that the implementation may return NULL.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""