| Package | Description |
|---|---|
| to.etc.webapp.qsql | |
| to.etc.webapp.query | |
| to.etc.webapp.testsupport |
| Modifier and Type | Method and Description |
|---|---|
static <T> JdbcQuery<T> |
JdbcQuery.create(QSelection<T> q) |
<R> List<R> |
JdbcDataContext.query(Class<R> resultInterface,
QSelection<?> sel) |
static List<Object[]> |
JdbcQuery.query(QDataContext dc,
QSelection<?> sel) |
List<Object[]> |
JdbcQueryExecutor.query(QDataContext root,
QSelection<?> sel) |
List<Object[]> |
JdbcDataContext.query(QSelection<?> sel) |
<R> R |
JdbcDataContext.queryOne(Class<R> resultInterface,
QSelection<?> sel) |
static Object[] |
JdbcQuery.queryOne(QDataContext dc,
QSelection<?> q) |
Object[] |
JdbcDataContext.queryOne(QSelection<?> q) |
void |
JdbcSQLGenerator.visitSelection(QSelection<?> qc) |
| Modifier and Type | Class and Description |
|---|---|
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 |
|---|---|
QSelection<T> |
QSelection.add(QOperatorNode r) |
QSelection<T> |
QSelection.add(QOrder r)
Add an order clause to the list of sort items.
|
QSelection<T> |
QSelection.ascending(String property)
Add a property to do an ascending sort on.
|
QSelection<T> |
QSelection.avg(String property)
Select the average value of a property in the set.
|
QSelection<T> |
QSelection.avg(String property,
String alias)
Select the average value of a property in the set.
|
QSelection<T> |
QSelection.between(String property,
Object a,
Object b)
Compare the value of a property with two literal bounds.
|
QSelection<T> |
QSelection.count(String property)
Select a count over the result set.
|
QSelection<T> |
QSelection.count(String property,
String alias)
Select a count over the result set.
|
QSelection<T> |
QSelection.countDistinct(String property)
Select a count of the distinct values over the result set.
|
QSelection<T> |
QSelection.countDistinct(String property,
String alias)
Select a count of the distinct values over the result set.
|
static <T> QSelection<T> |
QSelection.create(Class<T> root)
Create a selection query based on the specified persistent class (public API).
|
QSelection<T> |
QSelection.descending(String property)
Add a property to do a descending sort on.
|
QSelection<T> |
QSelection.distinct(String property)
Select of the distinct values over the result set.
|
QSelection<T> |
QSelection.distinct(String property,
String alias)
Select of the distinct values over the result set.
|
QSelection<T> |
QSelection.eq(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.eq(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.eq(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.fetch(String property) |
QSelection<T> |
QSelection.fetch(String property,
QFetchStrategy strategy) |
QSelection<T> |
QSelection.ge(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.ge(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.ge(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<?> |
QSelectionSubquery.getSelectionQuery() |
QSelection<T> |
QSelection.gt(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.gt(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.gt(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.ilike(String property,
Object value)
Do a case-independent 'like' comparison.
|
QSelection<T> |
QSelection.isnotnull(String property)
Add the restriction that the property specified must be not-null.
|
QSelection<T> |
QSelection.isnull(String property)
Add the restriction that the property specified must be null.
|
QSelection<T> |
QSelection.le(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.le(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.le(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.like(String property,
Object value)
Do a 'like' comparison.
|
QSelection<T> |
QSelection.lt(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.lt(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.lt(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.max(String property)
Select the max of a property in the set.
|
QSelection<T> |
QSelection.max(String property,
String alias)
Select the max of a property in the set.
|
QSelection<T> |
QSelection.min(String property)
Select the minimal value of a property in the set.
|
QSelection<T> |
QSelection.min(String property,
String alias)
Select the minimal value of a property in the set.
|
QSelection<T> |
QSelection.ne(String property,
double value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.ne(String property,
long value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.ne(String property,
Object value)
Compare a property with some literal object value.
|
QSelection<T> |
QSelection.or(QOperatorNode a1,
QOperatorNode a2,
QOperatorNode... a)
Deprecated.
|
QSelection<T> |
QSelection.selectProperty(String property)
Select a property value from the base property in the result set.
|
QSelection<T> |
QSelection.selectProperty(String property,
String alias)
Select a property value from the base property in the result set.
|
QSelection<T> |
QSelection.sqlCondition(String sql)
Add a restriction specified in bare SQL.
|
QSelection<T> |
QSelection.sum(String property)
Select the sum of a property in the set.
|
QSelection<T> |
QSelection.sum(String property,
String alias)
Select the sum of a property in the set.
|
QSelection<T> |
QSelection.testId(String testId) |
| Modifier and Type | Method and Description |
|---|---|
<V> QCriteria<T> |
QCriteria.in(String property,
QSelection<?> selection) |
<V> QRestrictor<T> |
QRestrictor.in(String property,
QSelection<?> selection) |
static <V> QPropertyIn |
QRestriction.in(String property,
QSelection<V> subQuery) |
static <R> R |
QQueryUtils.mapSelectionOneQuery(QDataContext dc,
Class<R> resultInterface,
QSelection<?> sel) |
static <R> List<R> |
QQueryUtils.mapSelectionQuery(QDataContext dc,
Class<R> resultInterface,
QSelection<?> sel) |
<R> List<R> |
QAbstractDataContext.query(Class<R> resultInterface,
QSelection<?> sel) |
<R> List<R> |
QDataContext.query(Class<R> resultInterface,
QSelection<?> sel)
Query a selection, and return the result in the specified proxied interface.
|
List<Object[]> |
IQueryExecutor.query(C root,
QSelection<?> sel)
Issue a selection query, where multiple fields or projections on fields are selected from a base class.
|
List<Object[]> |
QAbstractDataContext.query(QSelection<?> sel)
Issue a selection query, where multiple fields or projections on fields are selected from a base class.
|
List<Object[]> |
QDataContext.query(QSelection<?> sel)
Issue a selection query, where multiple fields or projections on fields are selected from a base class.
|
<R> R |
QAbstractDataContext.queryOne(Class<R> resultInterface,
QSelection<?> sel) |
<R> R |
QDataContext.queryOne(Class<R> resultInterface,
QSelection<?> sel)
Query a selection, and return the result in the specified proxied interface.
|
Object[] |
QAbstractDataContext.queryOne(QSelection<?> sel)
Execute the selection query specified by q, and expect and return at most 1 result.
|
Object[] |
QDataContext.queryOne(QSelection<?> q)
Execute the selection query specified by q, and expect and return at most 1 result.
|
void |
QNodeVisitorBase.visitSelection(QSelection<?> s) |
void |
QNodeVisitor.visitSelection(QSelection<?> s) |
void |
QQueryRenderer.visitSelection(QSelection<?> s) |
void |
QNodeVisitorBase.visitSelectionColumns(QSelection<?> s) |
void |
QQueryRenderer.visitSelectionColumns(QSelection<?> s) |
| Constructor and Description |
|---|
QSelectionSubquery(QSelection<?> subquery) |
| Modifier and Type | Method and Description |
|---|---|
<R> List<R> |
TestDataContextStub.query(Class<R> resultInterface,
QSelection<?> sel) |
List<Object[]> |
TestDataContextStub.query(QSelection<?> sel) |
List<Object[]> |
TestDataContextMock.query(QSelection<?> sel) |
<R> R |
TestDataContextStub.queryOne(Class<R> resultInterface,
QSelection<?> sel) |
Object[] |
TestDataContextStub.queryOne(QSelection<?> sel) |
Object[] |
TestDataContextMock.queryOne(QSelection<?> sel) |
Copyright © 2017 etc.to. All rights reserved.