public final class RelationalQueryRequest extends Object
| Constructor and Description |
|---|
RelationalQueryRequest(SpiEbeanServer server,
RelationalQueryEngine engine,
SqlQuery q,
Transaction t)
Create the BeanFindRequest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endTransIfRequired()
End the transaction if it was locally created.
|
List<SqlRow> |
findList() |
Map<?,SqlRow> |
findMap() |
Set<SqlRow> |
findSet() |
EbeanServer |
getEbeanServer() |
SpiSqlQuery |
getQuery()
Return the find that is to be performed.
|
SpiQuery.Type |
getQueryType()
Return the type (List, Set or Map) that this fetch returns.
|
SpiTransaction |
getTransaction() |
void |
initTransIfRequired()
Create a transaction if none currently exists.
|
boolean |
isLogSql() |
boolean |
isLogSummary() |
void |
rollbackTransIfRequired()
Rollback the transaction if it was created for this request.
|
public RelationalQueryRequest(SpiEbeanServer server, RelationalQueryEngine engine, SqlQuery q, Transaction t)
public void rollbackTransIfRequired()
public void initTransIfRequired()
public void endTransIfRequired()
public SpiSqlQuery getQuery()
public SpiQuery.Type getQueryType()
public EbeanServer getEbeanServer()
public SpiTransaction getTransaction()
public boolean isLogSql()
public boolean isLogSummary()
Copyright © 2014. All Rights Reserved.