Interface ReturningResult<T>

Type Parameters:
T - The concrete builder type

public interface ReturningResult<T>
A builder for modification queries.
Since:
1.1.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    T getLastResult()
    Returns the last element of the returning clause result.
    List<T> getResultList()
    Returns the result of the returning clause.
    int getUpdateCount()
    Execute this modification statement and return the number of affected entities.
  • Method Details

    • getLastResult

      T getLastResult()
      Returns the last element of the returning clause result.
      Returns:
      the last element of the returning clause result
    • getResultList

      List<T> getResultList()
      Returns the result of the returning clause. Note that returning all elements might not be supported by all databases.
      Returns:
      The result of the returning clause
    • getUpdateCount

      int getUpdateCount()
      Execute this modification statement and return the number of affected entities.
      Returns:
      The number of affected entities