|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SqlQuery | |
---|---|
com.avaje.ebean | Core API (see Ebean and EbeanServer). |
Uses of SqlQuery in com.avaje.ebean |
---|
Methods in com.avaje.ebean that return SqlQuery | |
---|---|
SqlQuery |
EbeanServer.createNamedSqlQuery(String namedQuery)
Create a named sql query (refer Ebean.createNamedSqlQuery(String)
). |
static SqlQuery |
Ebean.createNamedSqlQuery(String namedQuery)
Create a named sql query. |
SqlQuery |
EbeanServer.createSqlQuery(String sql)
Create a sql query for executing native sql query statements (refer Ebean.createSqlQuery(String) ). |
static SqlQuery |
Ebean.createSqlQuery(String sql)
Create a SqlQuery for executing native sql query statements. |
SqlQuery |
SqlFutureList.getQuery()
|
SqlQuery |
SqlQuery.setBackgroundFetchAfter(int backgroundFetchAfter)
Set the index after which fetching continues in a background thread. |
SqlQuery |
SqlQuery.setBufferFetchSizeHint(int bufferFetchSizeHint)
A hint which for JDBC translates to the Statement.fetchSize(). |
SqlQuery |
SqlQuery.setFirstRow(int firstRow)
Set the index of the first row of the results to return. |
SqlQuery |
SqlQuery.setListener(SqlQueryListener queryListener)
Set a listener to process the query on a row by row basis. |
SqlQuery |
SqlQuery.setMapKey(String mapKey)
Set the column to use to determine the keys for a Map. |
SqlQuery |
SqlQuery.setMaxRows(int maxRows)
Set the maximum number of query results to return. |
SqlQuery |
SqlQuery.setParameter(int position,
Object value)
The same as bind for positioned parameters. |
SqlQuery |
SqlQuery.setParameter(String name,
Object value)
The same as bind for named parameters. |
SqlQuery |
SqlQuery.setTimeout(int secs)
Set a timeout on this query. |
Methods in com.avaje.ebean with parameters of type SqlQuery | |
---|---|
SqlFutureList |
EbeanServer.findFutureList(SqlQuery query,
Transaction t)
Execute find list SQL query in a background thread. |
List<SqlRow> |
EbeanServer.findList(SqlQuery query,
Transaction transaction)
Execute the sql query returning a list of MapBean. |
Map<?,SqlRow> |
EbeanServer.findMap(SqlQuery query,
Transaction transaction)
Execute the sql query returning a map of MapBean. |
Set<SqlRow> |
EbeanServer.findSet(SqlQuery query,
Transaction transaction)
Execute the sql query returning a set of MapBean. |
SqlRow |
EbeanServer.findUnique(SqlQuery query,
Transaction transaction)
Execute the sql query returning a single MapBean or null. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |