Uses of Interface
io.ebean.DtoQuery
-
Uses of DtoQuery in io.ebean
Methods in io.ebean that return DtoQuery Modifier and Type Method Description <D> DtoQuery<D>ExpressionList. asDto(Class<D> dtoClass)Convert the query to a DTO bean query.<D> DtoQuery<D>Query. 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.<T> DtoQuery<T>Database. findDto(Class<T> dtoType, String sql)Create a Query for DTO beans.static <T> DtoQuery<T>DB. findDto(Class<T> dtoType, String sql)Create a Query for DTO beans.static <T> DtoQuery<T>Ebean. findDto(Class<T> dtoType, String sql)Deprecated.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)Bind the parameter by its index position (1 based like JDBC).DtoQuery<T>DtoQuery. setParameter(Object value)Bind the next parameter using index position.DtoQuery<T>DtoQuery. setParameter(String name, Object value)Bind the named parameter.DtoQuery<T>DtoQuery. setParameters(Object... value)Bind all the parameters using index positions.DtoQuery<T>DtoQuery. setProfileLocation(ProfileLocation profileLocation)Set the profile location of this query.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.DtoQuery<T>DtoQuery. usingTransaction(Transaction transaction)Use the explicit transaction to execute the query.