| 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 |
QCriteriaQueryBase<T>
Base class representing most of the query structure, just not the public interface part.
|
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 |
|---|---|
QRestrictor<T> |
QRestrictor.add(QOperatorNode n) |
QRestrictor<T> |
QRestrictor.and() |
QRestrictor<T> |
QRestrictor.between(String property,
Object a,
Object b)
Compare the value of a property with two literal bounds.
|
<V,R extends QField<R,T>> |
QRestrictor.eq(QField<R,V> property,
V value)
Compare a property with some value.
|
<R extends QField<R,T>> |
QRestrictor.eq(QFieldDouble<R> property,
double value) |
QRestrictor<T> |
QRestrictor.eq(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.eq(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.eq(String property,
Object value)
Compare a property with some literal object value.
|
<U> QRestrictor<U> |
QRestrictor.exists(Class<U> childclass,
String childproperty)
Create a joined "exists" subquery on some child list property.
|
<P extends QField<P,T>,R extends QField<R,U>,U> |
QRestrictor.exists(QList<P,R> listProperty) |
QRestrictor<T> |
QRestrictor.ge(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.ge(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.ge(String property,
Object value)
Compare a property with some literal object value.
|
QRestrictor<P> |
QSubQuery.getParent() |
QRestrictor<?> |
QExistsSubquery.getParentQuery() |
QRestrictor<T> |
QRestrictor.gt(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.gt(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.gt(String property,
Object value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.ilike(String property,
Object value)
Do a case-independent 'like' comparison.
|
<V,R extends QField<R,T>> |
QRestrictor.in(QField<R,V> property,
List<V> value)
A property must be one of a list of values.
|
<V> QRestrictor<T> |
QRestrictor.in(String property,
List<V> inlist)
A property must be one of a list of values.
|
<V> QRestrictor<T> |
QRestrictor.in(String property,
QSelection<?> selection) |
QRestrictor<T> |
QRestrictor.isnotnull(String property)
Add the restriction that the property specified must be not-null.
|
QRestrictor<T> |
QRestrictor.isnull(String property)
Add the restriction that the property specified must be null.
|
QRestrictor<T> |
QRestrictor.le(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.le(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.le(String property,
Object value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.like(String property,
Object value)
Do a 'like' comparison.
|
QRestrictor<T> |
QRestrictor.lt(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.lt(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.lt(String property,
Object value)
Compare a property with some literal object value.
|
<V,R extends QField<R,T>> |
QRestrictor.ne(QField<R,V> property,
V value)
Compare a property with some value.
|
QRestrictor<T> |
QRestrictor.ne(String property,
double value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.ne(String property,
long value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.ne(String property,
Object value)
Compare a property with some literal object value.
|
QRestrictor<T> |
QRestrictor.not()
Add NOT restriction.
|
QRestrictor<T> |
QRestrictor.or()
Return a thingy that constructs nodes combined with "or".
|
QRestrictor<T> |
QRestrictor.or(QOperatorNode a1,
QOperatorNode a2,
QOperatorNode... rest)
Deprecated.
|
QRestrictor<T> |
QRestrictor.sqlCondition(String sql)
Add a restriction specified in bare SQL.
|
QRestrictor<T> |
QRestrictor.sqlCondition(String sql,
Object[] params)
Add a restriction in bare SQL, with JDBC parameters inside the string (specified as '?').
|
| Modifier and Type | Method and Description |
|---|---|
<A> QJoiner<A,P,T> |
QSubQuery.join(QRestrictor<A> parent) |
void |
QRestrictor.mergeCriteria(QRestrictor<T> other)
This merges the "other" restrictor's restrictions inside this restriction.
|
| Constructor and Description |
|---|
QExistsSubquery(QRestrictor<?> parent,
Class<T> baseClass,
String property) |
QJoiner(QRestrictor<A> parent,
QSubQuery<T,P> qSubQuery) |
QRestrictor(QRestrictor<T> parent,
QOperation combinator) |
QSubQuery(QRestrictor<P> parent,
Class<T> chclazz) |
Copyright © 2017 etc.to. All rights reserved.