Interface SpiCancelableQuery

All Superinterfaces:
CancelableQuery
All Known Subinterfaces:
SpiDtoQuery<T>, SpiQuery<T>, SpiSqlBinding, SpiSqlQuery
All Known Implementing Classes:
AbstractQuery, DefaultDtoQuery, DefaultOrmQuery, DefaultRelationalQuery

public interface SpiCancelableQuery extends CancelableQuery
Cancellable query, that has a delegate.
Author:
Roland Praml, FOCONIS AG
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks if the query was cancelled.
    void
    Set the underlying cancelable query (with the PreparedStatement).

    Methods inherited from interface io.ebean.CancelableQuery

    cancel
  • Method Details

    • checkCancelled

      void checkCancelled()
      Checks if the query was cancelled.
      Throws:
      jakarta.persistence.PersistenceException - if query was cancelled.
    • setCancelableQuery

      void setCancelableQuery(CancelableQuery cancelableQuery)
      Set the underlying cancelable query (with the PreparedStatement).