Interface SpiCancelableQuery

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

public interface SpiCancelableQuery extends io.ebean.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
    setCancelableQuery(io.ebean.CancelableQuery cancelableQuery)
    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(io.ebean.CancelableQuery cancelableQuery)
      Set the underlying cancelable query (with the PreparedStatement).