Uses of Interface
io.ebean.DtoQuery
Packages that use DtoQuery
-
Uses of DtoQuery in io.ebean
Modifier and TypeMethodDescription<D> DtoQuery
<D> Convert the query to a DTO bean query.<D> DtoQuery
<D> Convert the query to a DTO bean query.<T> DtoQuery
<T> Create a Query for DTO beans.static <T> DtoQuery
<T> Create a Query for DTO beans.DtoQuery.setArrayParameter
(String name, Collection<?> values) Bind the named multi-value array parameter which we would use with Postgres ANY.DtoQuery.setBufferFetchSizeHint
(int bufferFetchSizeHint) A hint which for JDBC translates to the Statement.fetchSize().DtoQuery.setFirstRow
(int firstRow) Set the index of the first row of the results to return.Set a label on the query to make it easier to identify queries related to query execution statistics.DtoQuery.setMaxRows
(int maxRows) Set the maximum number of query results to return.DtoQuery.setNullParameter
(int position, int jdbcType) Set a positioned parameter to SQL NULL.DtoQuery.setNullParameter
(String name, int jdbcType) Bind the named parameter to SQL NULL.DtoQuery.setParameter
(int position, Object value) Bind the parameter by its index position (1 based like JDBC).DtoQuery.setParameter
(Object value) Bind the next parameter using index position.DtoQuery.setParameter
(String name, Object value) Bind the named parameter.DtoQuery.setParameters
(Object... value) Bind all the parameters using index positions.DtoQuery.setProfileLocation
(ProfileLocation profileLocation) Set the profile location of this query.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.setTimeout
(int secs) Set a timeout on this query.DtoQuery.usingConnection
(Connection connection) Execute the query using the given connection.DtoQuery.usingMaster()
Ensure that the master DataSource is used if there is a read only data source being used (that is using a read replica database potentially with replication lag).DtoQuery.usingTransaction
(Transaction transaction) Use the explicit transaction to execute the query.