Interface ExposesCall.ExposesYield<T>

Type Parameters:
T - The type of the next step
All Known Subinterfaces:
StatementBuilder.OngoingInQueryCallWithArguments, StatementBuilder.OngoingInQueryCallWithoutArguments, StatementBuilder.OngoingStandaloneCallWithArguments, StatementBuilder.OngoingStandaloneCallWithoutArguments
Enclosing interface:
ExposesCall<T>

public static interface ExposesCall.ExposesYield<T>
Used to yield procedure result fields. There are no checks involved whether the procedure being called actually returns items with the given names.
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    yield(String... yieldedItems)
    Adds the given items to the YIELD clause of the generated call.
    yield(AliasedExpression... aliasedResultFields)
    Adds the given items to the YIELD clause of the generated call and uses new aliases in the generated call.
    default T
    yield(Named... yieldedItems)
    Adds the given items to the YIELD clause of the generated call.
    yield(SymbolicName... resultFields)
    Adds the given items to the YIELD clause of the generated call.
  • Method Details

    • yield

      @NotNull @CheckReturnValue default T yield(String... yieldedItems)
      Adds the given items to the YIELD clause of the generated call.
      Parameters:
      yieldedItems - The list of items to be yielded.
      Returns:
      The ongoing standalone call to be configured.
    • yield

      @NotNull @CheckReturnValue default T yield(Named... yieldedItems)
      Adds the given items to the YIELD clause of the generated call.
      Parameters:
      yieldedItems - The list of named items to be yielded.
      Returns:
      The ongoing standalone call to be configured.
      Since:
      2020.1.4
    • yield

      @NotNull @CheckReturnValue T yield(SymbolicName... resultFields)
      Adds the given items to the YIELD clause of the generated call.
      Parameters:
      resultFields - The list of result fields to be returned.
      Returns:
      The ongoing standalone call to be configured.
    • yield

      @NotNull @CheckReturnValue T yield(AliasedExpression... aliasedResultFields)
      Adds the given items to the YIELD clause of the generated call and uses new aliases in the generated call.
      Parameters:
      aliasedResultFields - The list of result fields to be returned with new aliases given.
      Returns:
      The ongoing standalone call to be configured.