Package io.trino.spi.function
Annotation Type 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 aScalarFunction
orScalarOperator
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 aScalarFunction
method indicates that the implementation may return NULL.
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-