- All Superinterfaces:
CancelableQuery,SpiCancelableQuery
- All Known Subinterfaces:
SpiDtoQuery<T>,SpiSqlQuery
- All Known Implementing Classes:
DefaultDtoQuery,DefaultRelationalQuery
SQL query binding (for SqlQuery and DtoQuery).
-
Method Summary
Modifier and TypeMethodDescriptionReturn the named or positioned parameters.intReturn the hint for Statement.setFetchSize().intReturn the first row to fetch.getLabel()Return the label (to collect metrics on when set).intReturn the maximum number of rows to fetch.getQuery()return the query.intReturn the query timeout.booleanReturn true if this query should not use the read only data source.Return the transaction explicitly associated to the query.Methods inherited from interface io.ebean.CancelableQuery
cancelMethods inherited from interface io.ebeaninternal.api.SpiCancelableQuery
checkCancelled, setCancelableQuery
-
Method Details
-
transaction
Return the transaction explicitly associated to the query. -
isUseMaster
boolean isUseMaster()Return true if this query should not use the read only data source. -
getBindParams
BindParams getBindParams()Return the named or positioned parameters. -
getQuery
String getQuery()return the query. -
getLabel
String getLabel()Return the label (to collect metrics on when set). -
getFirstRow
int getFirstRow()Return the first row to fetch. -
getMaxRows
int getMaxRows()Return the maximum number of rows to fetch. -
getTimeout
int getTimeout()Return the query timeout. -
getBufferFetchSizeHint
int getBufferFetchSizeHint()Return the hint for Statement.setFetchSize().
-