Interface ExposesCall.AsFunction

All Known Subinterfaces:
StatementBuilder.OngoingStandaloneCallWithArguments, StatementBuilder.OngoingStandaloneCallWithoutArguments
Enclosing interface:
ExposesCall<T>

public static interface ExposesCall.AsFunction
Interface to allow creating an expression instead of a statement from an ongoing definition. To make this generate valid Cypher the stored procedure in question must be a valid function.
Since:
2020.1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    default Expression
    Returns a function invocation that can be used as an expression, for example as a property or inside a condition.
    asFunction(boolean distinct)
    Returns a function invocation that can be used as an expression, for example as a property or inside a condition.
  • Method Details

    • asFunction

      default Expression asFunction()
      Returns a function invocation that can be used as an expression, for example as a property or inside a condition.
      Returns:
      a function invocation that can be used as an expression
    • asFunction

      Expression asFunction(boolean distinct)
      Returns a function invocation that can be used as an expression, for example as a property or inside a condition.
      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