Package | Description |
---|---|
org.objectquery | |
org.objectquery.generic |
Modifier and Type | Interface and Description |
---|---|
interface |
ObjectQuery<T>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> SelectQuery<T> |
QueryEngine.newSelect(Class<T> target)
Create a new select query on the specified target
usage example:
QueryEngine<YourSession> engine = .... |
<S> SelectQuery<S> |
SelectQuery.subQuery(Class<S> target)
Create a new Sub Query of current query.
|
Modifier and Type | Method and Description |
---|---|
<C,T extends C> |
QueryCondition.contains(Collection<C> target,
SelectQuery<T> value)
Add a contains condition between expression and a query.
|
<C,T extends C> |
QueryCondition.eq(C target,
SelectQuery<T> value)
Add an equal condition between expression and a query.
|
abstract <RET extends List<?>> |
QueryEngine.execute(SelectQuery<?> query,
S engineSession)
Execute a select and return a list of result.
|
<C,T extends C> |
QueryCondition.gt(C target,
SelectQuery<T> value)
Add a "grater than" condition between expression and a query.
|
<C,T extends C> |
QueryCondition.gtEq(C target,
SelectQuery<T> value)
Add an "grater than or equals" condition between expression and a query.
|
<C,T extends C> |
QueryCondition.in(C target,
SelectQuery<T> value)
Add an in condition between expression and a query.
|
<C,T extends C> |
QueryCondition.lt(C target,
SelectQuery<T> value)
Add a "lesser than" condition between expression and a query.
|
<C,T extends C> |
QueryCondition.ltEq(C target,
SelectQuery<T> value)
Add a min or equals condition between expression and a query.
|
<C,T extends C> |
QueryCondition.notContains(Collection<C> target,
SelectQuery<T> value)
Add a not contains condition between expression and a query.
|
<C,T extends C> |
QueryCondition.notEq(C target,
SelectQuery<T> value)
Add a not equal condition between expression and a query.
|
<C,T extends C> |
QueryCondition.notIn(C target,
SelectQuery<T> value)
Add a not in condition between expression and a query.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericObjectQuery<T>
Deprecated.
|
class |
GenericSelectQuery<T> |
Modifier and Type | Method and Description |
---|---|
<S> SelectQuery<S> |
GenericSelectQuery.subQuery(Class<S> targetClass) |
Modifier and Type | Method and Description |
---|---|
<C,T extends C> |
QueryConditionImpl.contains(Collection<C> target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.eq(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.gt(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.gtEq(C target,
SelectQuery<T> value) |
void |
GenericInternalQueryBuilder.having(SelectQuery<?> item,
ProjectionType projectionType,
ConditionType conditionType,
Object value) |
void |
InternalQueryBuilder.having(SelectQuery<?> item,
ProjectionType projectionType,
ConditionType conditionType,
Object value)
Create Add a new having item
|
<C,T extends C> |
QueryConditionImpl.in(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.lt(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.ltEq(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.notContains(Collection<C> target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.notEq(C target,
SelectQuery<T> value) |
<C,T extends C> |
QueryConditionImpl.notIn(C target,
SelectQuery<T> value) |
void |
GenericInternalQueryBuilder.order(SelectQuery<?> order,
ProjectionType projectionType,
OrderType type) |
void |
InternalQueryBuilder.order(SelectQuery<?> order,
ProjectionType projectionType,
OrderType type)
Add an sub query order to query.
|
void |
GenericInternalQueryBuilder.projection(SelectQuery<?> projection,
ProjectionType type) |
void |
InternalQueryBuilder.projection(SelectQuery<?> projection,
ProjectionType type)
Add a sub Query projection to query with an operator.
|
Constructor and Description |
---|
GenericHavingCondition(InternalQueryBuilder builder,
GenericSelectQuery<?> objectQuery,
SelectQuery<?> item,
ProjectionType type) |
Having(SelectQuery<?> item,
ProjectionType projectionType,
ConditionType conditionType,
Object value) |
Order(SelectQuery<?> item,
ProjectionType projectionType,
OrderType type) |
Projection(SelectQuery<?> item,
ProjectionType type) |
Copyright © 2014 Object Query. All rights reserved.