Interface ExposesCall.AsFunction

    • Method Detail

      • asFunction

        @NotNull
        @Contract(pure=true)
        default @NotNull Expression asFunction()
        Returns:
        A function invocation that can be used as an expression, for example as a property or inside a condition.
      • asFunction

        @NotNull
        @Contract(pure=true)
        @NotNull Expression asFunction​(boolean distinct)
        Parameters:
        distinct - Set to true for adding the DISTINCT for any of the aggregating functions.
        Returns:
        A distinct function invocation that can be used as an expression, for example as a property or inside a condition.
        Since:
        2021.2.2