| Package | Description |
|---|---|
| to.etc.webapp.query |
| Modifier and Type | Class and Description |
|---|---|
class |
QCriteria<T>
Represents the selection of a list of persistent entity classes from the database.
|
class |
QSelection<T>
Represents a selection of data elements from a database.
|
class |
QSubQuery<T,P>
A subquery linked inside a master query, that can be joined to the master query.
|
| Modifier and Type | Method and Description |
|---|---|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.add(QOrder r)
Add an order clause to the list of sort items.
|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.ascending(String property)
Add a property to do an ascending sort on.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.avg(String property)
Select the average value of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.avg(String property,
String alias)
Select the average value of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.count(String property)
Select a count over the result set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.count(String property,
String alias)
Select a count over the result set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.countDistinct(String property)
Select a count of the distinct values over the result set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.countDistinct(String property,
String alias)
Select a count of the distinct values over the result set.
|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.descending(String property)
Add a property to do a descending sort on.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.distinct(String property)
Select of the distinct values over the result set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.distinct(String property,
String alias)
Select of the distinct values over the result set.
|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.fetch(String property,
QFetchStrategy strategy)
Set a fetch strategy for a relation.
|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.limit(int limit)
Limit the #of rows to the specified count.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.max(String property)
Select the max of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.max(String property,
String alias)
Select the max of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.min(String property)
Select the minimal value of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.min(String property,
String alias)
Select the minimal value of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.selectProperty(String property)
Select a property value from the base property in the result set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.selectProperty(String property,
String alias)
Select a property value from the base property in the result set.
|
QCriteriaQueryBase<T> |
QCriteriaQueryBase.start(int start)
Start returning rows at the specified index in the result set (0-based).
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.sum(String property)
Select the sum of a property in the set.
|
protected QCriteriaQueryBase<T> |
QCriteriaQueryBase.sum(String property,
String alias)
Select the sum of a property in the set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QEventListenerSet.callOnBeforeQuery(QDataContext dc,
QCriteriaQueryBase<?> qc)
Calls all listeners in order.
|
IQueryExecutor<QDataContext> |
QQueryExecutorRegistry.getHandler(QDataContext root,
QCriteriaQueryBase<?> query) |
void |
IQueryListener.onBeforeQuery(QDataContext dc,
QCriteriaQueryBase<?> criteria)
Called before a
QDataContext.query(QCriteria) or QDataContext.query(QSelection) is
executed; it can alter the query if needed. |
void |
QRenderingVisitorBase.visitRestrictionsBase(QCriteriaQueryBase<?> n) |
void |
QNodeVisitorBase.visitRestrictionsBase(QCriteriaQueryBase<?> n) |
void |
QNodeVisitor.visitRestrictionsBase(QCriteriaQueryBase<?> n) |
void |
QQueryRenderer.visitRestrictionsBase(QCriteriaQueryBase<?> n) |
| Constructor and Description |
|---|
QTooManyResultsException(QCriteriaQueryBase<?> base,
int count) |
Copyright © 2017 etc.to. All rights reserved.