| Package | Description |
|---|---|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.autofetch |
AutoFetch Implementation
|
| com.avaje.ebeaninternal.server.core |
Core implementation objects
|
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.loadcontext | |
| com.avaje.ebeaninternal.server.query | |
| com.avaje.ebeaninternal.server.querydefn |
| Modifier and Type | Method and Description |
|---|---|
SpiQuery<T> |
SpiQuery.copy()
Return a copy of the query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadManyBuffer.configureQuery(SpiQuery<?> query) |
void |
LoadBeanBuffer.configureQuery(SpiQuery<?> query,
String lazyLoadProperty) |
<T> SpiOrmQueryRequest<T> |
SpiEbeanServer.createQueryRequest(BeanDescriptor<T> desc,
SpiQuery<T> q,
Transaction t)
Create a query request object.
|
void |
LoadContext.registerSecondaryQueries(SpiQuery<?> query)
Register any secondary queries (+query or +lazy) with their
appropriate LoadBeanContext or LoadManyContext.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TunedQueryInfo.autoFetchTune(SpiQuery<?> query)
Tune the query by replacing its OrmQueryDetail with a tuned one.
|
boolean |
DefaultAutoFetchManager.tuneQuery(SpiQuery<?> query)
Auto tune the query and enable profiling.
|
boolean |
AutoFetchManager.tuneQuery(SpiQuery<?> query)
Called when a query thinks it should be automatically tuned by autoFetch.
|
| Modifier and Type | Method and Description |
|---|---|
SpiQuery<T> |
SpiOrmQueryRequest.getQuery()
Return the query.
|
SpiQuery<T> |
OrmQueryRequest.getQuery()
Return the find that is to be performed.
|
| Modifier and Type | Method and Description |
|---|---|
<T> SpiOrmQueryRequest<T> |
DefaultServer.createQueryRequest(BeanDescriptor<T> desc,
SpiQuery<T> query,
Transaction t) |
| Constructor and Description |
|---|
OrmQueryRequest(SpiEbeanServer server,
OrmQueryEngine queryEngine,
SpiQuery<T> query,
BeanDescriptor<T> desc,
SpiTransaction t)
Create the InternalQueryRequest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanPropertyAssocMany.addWhereParentIdIn(SpiQuery<?> query,
List<Object> parentIds)
Add a where clause to the query for a given list of parent Id's.
|
BeanPropertyAssocMany<?> |
BeanDescriptor.getManyProperty(SpiQuery<?> query)
Return the many property included in the query or null if one is not.
|
void |
BeanPropertyAssocMany.setPredicates(SpiQuery<?> query,
Object parentBean) |
| Modifier and Type | Method and Description |
|---|---|
void |
DLoadManyContext.configureQuery(SpiQuery<?> query) |
void |
DLoadManyContext.LoadBuffer.configureQuery(SpiQuery<?> query) |
protected void |
DLoadBeanContext.configureQuery(SpiQuery<?> query,
String lazyLoadProperty) |
void |
DLoadBeanContext.LoadBuffer.configureQuery(SpiQuery<?> query,
String lazyLoadProperty) |
void |
DLoadContext.registerSecondaryQueries(SpiQuery<?> query)
Remove the +query and +lazy secondary queries and
register them with their appropriate LoadBeanContext
or LoadManyContext.
|
| Constructor and Description |
|---|
DLoadContext(SpiEbeanServer ebeanServer,
BeanDescriptor<?> rootDescriptor,
Boolean readOnly,
SpiQuery<?> query) |
| Modifier and Type | Field and Description |
|---|---|
protected SpiQuery<T> |
CallableQuery.query |
| Modifier and Type | Method and Description |
|---|---|
SpiQuery<T> |
CallableQuery.getQuery() |
SpiQuery<T> |
LimitOffsetPagingQuery.getSpiQuery() |
| Modifier and Type | Method and Description |
|---|---|
static String |
CQueryOrderBy.parse(BeanDescriptor<?> desc,
SpiQuery<?> query)
Create the logical order by clause.
|
| Constructor and Description |
|---|
CallableQuery(SpiEbeanServer server,
SpiQuery<T> query,
Transaction t) |
CallableQueryIds(SpiEbeanServer server,
SpiQuery<T> query,
Transaction t) |
CallableQueryList(SpiEbeanServer server,
SpiQuery<T> query,
Transaction t) |
CallableQueryRowCount(SpiEbeanServer server,
SpiQuery<T> query,
Transaction t)
Note that the transaction passed in is always a new transaction solely to
find the row count so it must be cleaned up by this CallableQueryRowCount.
|
LimitOffsetPagingQuery(EbeanServer server,
SpiQuery<T> query,
int pageSize) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultOrmQuery<T>
Default implementation of an Object Relational query.
|
| Modifier and Type | Method and Description |
|---|---|
SpiQuery<?> |
OrmQueryLimitRequest.getOrmQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrmQueryProperties.configureBeanQuery(SpiQuery<?> query)
Define the select and joins for this query.
|
| Constructor and Description |
|---|
OrmQueryLimitRequest(String sql,
String sqlOrderBy,
SpiQuery<?> ormQuery,
DatabasePlatform dbPlatform) |
Copyright © 2014. All Rights Reserved.