Package | Description |
---|---|
io.ebean |
Modifier and Type | Method and Description |
---|---|
<D> DtoQuery<D> |
Query.asDto(Class<D> dtoClass)
Convert the query to a DTO bean query.
|
<D> DtoQuery<D> |
ExpressionList.asDto(Class<D> dtoClass)
Convert the query to a DTO bean query.
|
<T> DtoQuery<T> |
Database.createNamedDtoQuery(Class<T> dtoType,
String namedQuery)
Create a named Query for DTO beans.
|
static <T> DtoQuery<T> |
DB.findDto(Class<T> dtoType,
String sql)
Create a Query for DTO beans.
|
<T> DtoQuery<T> |
Database.findDto(Class<T> dtoType,
String sql)
Create a Query for DTO beans.
|
static <T> DtoQuery<T> |
Ebean.findDto(Class<T> dtoType,
String sql)
Create a Query for DTO beans.
|
DtoQuery<T> |
DtoQuery.setBufferFetchSizeHint(int bufferFetchSizeHint)
A hint which for JDBC translates to the Statement.fetchSize().
|
DtoQuery<T> |
DtoQuery.setFirstRow(int firstRow)
Set the index of the first row of the results to return.
|
DtoQuery<T> |
DtoQuery.setLabel(String label)
Set a label on the query to make it easier to identify queries related to query execution statistics.
|
DtoQuery<T> |
DtoQuery.setMaxRows(int maxRows)
Set the maximum number of query results to return.
|
DtoQuery<T> |
DtoQuery.setParameter(int position,
Object value)
The same as bind for positioned parameters.
|
DtoQuery<T> |
DtoQuery.setParameter(String name,
Object value)
The same as bind for named parameters.
|
DtoQuery<T> |
DtoQuery.setRelaxedMode()
When resultSet columns are not able to be mapped to a bean property then instead of
throwing effectively skip reading that column.
|
DtoQuery<T> |
DtoQuery.setTimeout(int secs)
Set a timeout on this query.
|
Copyright © 2019. All rights reserved.