java.lang.Object
io.ebeaninternal.server.querydefn.AbstractQuery
- All Implemented Interfaces:
CancelableQuery,SpiCancelableQuery
- Direct Known Subclasses:
DefaultDtoQuery,DefaultOrmQuery,DefaultRelationalQuery
Common code for Dto/Orm/RelationalQuery
- Author:
- Roland Praml, FOCONIS AG
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcancel()final voidChecks if the query was cancelled.final voidsetCancelableQuery(CancelableQuery cancelableQuery) Set the underlying cancelable query (with the PreparedStatement).
-
Field Details
-
useMaster
protected boolean useMaster
-
-
Constructor Details
-
AbstractQuery
public AbstractQuery()
-
-
Method Details
-
cancel
public final void cancel()- Specified by:
cancelin interfaceCancelableQuery
-
checkCancelled
public final void checkCancelled()Description copied from interface:SpiCancelableQueryChecks if the query was cancelled.- Specified by:
checkCancelledin interfaceSpiCancelableQuery
-
setCancelableQuery
Description copied from interface:SpiCancelableQuerySet the underlying cancelable query (with the PreparedStatement).- Specified by:
setCancelableQueryin interfaceSpiCancelableQuery
-