| 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(QCriteria<T> q) |
<T> List<T> |
JdbcDataContext.query(QCriteria<T> q) |
static <T> List<T> |
JdbcQuery.query(QDataContext dc,
QCriteria<T> q) |
<T> List<T> |
JdbcQueryExecutor.query(QDataContext root,
QCriteria<T> q) |
<T> T |
JdbcDataContext.queryOne(QCriteria<T> q) |
static <T> T |
JdbcQuery.queryOne(QDataContext dc,
QCriteria<T> q) |
void |
JdbcSQLGenerator.visitCriteria(QCriteria<?> qc) |
| Modifier and Type | Field and Description |
|---|---|
protected QCriteria<T> |
QField.m_criteria |
| Modifier and Type | Method and Description |
|---|---|
QCriteria<T> |
QCriteria.add(QOperatorNode r) |
QCriteria<T> |
QCriteria.add(QOrder r)
Add an order clause to the list of sort items.
|
QCriteria<T> |
QCriteria.ascending(String property)
Add a property to do an ascending sort on.
|
QCriteria<T> |
QCriteria.between(String property,
Object a,
Object b)
Compare the value of a property with two literal bounds.
|
static <U> QCriteria<U> |
QCriteria.create(Class<U> clz)
Create a QCriteria to select a set of the specified class.
|
static <U> QCriteria<U> |
QCriteria.create(ICriteriaTableDef<U> root)
EXPERIMENTAL Create a QCriteria on some metadata structured data.
|
QCriteria<?> |
QField.criteria() |
QCriteria<T> |
QCriteria.descending(String property)
Add a property to do a descending sort on.
|
<V,R extends QField<R,T>> |
QCriteria.eq(QField<R,V> property,
V value)
Compare a property with some value.
|
<R extends QField<R,T>> |
QCriteria.eq(QFieldDouble<R> property,
double value) |
QCriteria<T> |
QCriteria.eq(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.eq(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.eq(String property,
Object value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.fetch(String property) |
QCriteria<T> |
QCriteria.fetch(String property,
QFetchStrategy strategy) |
QCriteria<T> |
QCriteria.ge(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.ge(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.ge(String property,
Object value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.gt(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.gt(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.gt(String property,
Object value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.ilike(String property,
Object value)
Do a case-independent 'like' comparison.
|
<V,R extends QField<R,T>> |
QCriteria.in(QField<R,V> property,
List<V> value) |
<V> QCriteria<T> |
QCriteria.in(String property,
List<V> inlist) |
<V> QCriteria<T> |
QCriteria.in(String property,
QSelection<?> selection) |
QCriteria<T> |
QCriteria.isnotnull(String property)
Add the restriction that the property specified must be not-null.
|
QCriteria<T> |
QCriteria.isnull(String property)
Add the restriction that the property specified must be null.
|
QCriteria<T> |
QCriteria.le(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.le(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.le(String property,
Object value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.like(String property,
Object value)
Do a 'like' comparison.
|
QCriteria<T> |
QCriteria.limit(int limit)
Limit the #of rows to the specified count.
|
QCriteria<T> |
QCriteria.lt(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.lt(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.lt(String property,
Object value)
Compare a property with some literal object value.
|
<V,R extends QField<R,T>> |
QCriteria.ne(QField<R,V> property,
V value)
Compare a property with some value.
|
QCriteria<T> |
QCriteria.ne(String property,
double value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.ne(String property,
long value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.ne(String property,
Object value)
Compare a property with some literal object value.
|
QCriteria<T> |
QCriteria.or(QOperatorNode a1,
QOperatorNode a2,
QOperatorNode... a)
Deprecated.
|
QCriteria<T> |
QCriteria.sqlCondition(String sql)
Add a restriction specified in bare SQL.
|
QCriteria<T> |
QCriteria.sqlCondition(String sql,
Object[] params)
Add a restriction in bare SQL, with JDBC parameters inside the string (specified as '?').
|
QCriteria<T> |
QCriteria.start(int start)
Start returning rows at the specified index in the result set (0-based).
|
QCriteria<T> |
QCriteria.testId(String testId)
Used to easily identify criteria within tests.
|
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
IQueryExecutor.query(C root,
QCriteria<T> q)
Execute the query specified by q and return a list of results.
|
<T> List<T> |
QAbstractDataContext.query(QCriteria<T> q)
Execute the query specified by q and return a list of results.
|
<T> List<T> |
QDataContext.query(QCriteria<T> q)
Execute the query specified by q and return a list of results.
|
static <K,T extends IIdentifyable<K>> |
QQueryUtils.queryCount(QDataContext dc,
QCriteria<T> q)
Util that enables easier retrieving of rows count on specified QCriteria.
|
<T> T |
QAbstractDataContext.queryOne(QCriteria<T> q)
Execute the query specified by q, and expect and return at most 1 result.
|
<T> T |
QDataContext.queryOne(QCriteria<T> q)
Execute the query specified by q, and expect and return at most 1 result.
|
void |
QRenderingVisitorBase.visitCriteria(QCriteria<?> qc) |
void |
QNodeVisitorBase.visitCriteria(QCriteria<?> qc) |
void |
QNodeVisitor.visitCriteria(QCriteria<?> qc) |
void |
QQueryRenderer.visitCriteria(QCriteria<?> qc) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
TestDataContextStub.query(QCriteria<T> q) |
<T> List<T> |
TestDataContextMock.query(QCriteria<T> q) |
<T> T |
TestDataContextStub.queryOne(QCriteria<T> q) |
<T> T |
TestDataContextMock.queryOne(QCriteria<T> q) |
Copyright © 2017 etc.to. All rights reserved.