| Package | Description |
|---|---|
| org.beangle.commons.dao.query.builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<Condition> |
SqlQuery.conditions |
protected List<Condition> |
AbstractQueryBuilder.conditions |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
Conditions.and(Condition... conditions) |
static Condition |
Conditions.and(List<Condition> conditions) |
static Condition |
Condition.eq(String content,
Number value)
eq.
|
static Condition |
Condition.eq(String content,
String value)
eq.
|
static Condition |
Condition.ge(String content,
Number value)
ge.
|
static Condition |
Condition.le(String content,
Number value)
le.
|
static Condition |
Condition.like(String content,
String value)
like.
|
static Condition |
Condition.ne(String content,
Number value)
ne.
|
static Condition |
Conditions.or(Condition... conditions) |
static Condition |
Conditions.or(List<Condition> conditions) |
Condition |
Condition.param(Object value)
param.
|
Condition |
Condition.params(List<?> values)
params.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Condition> |
Conditions.extractConditions(String alias,
Entity<?> entity)
提取对象中的条件
提取的属性仅限"平面"属性(允许包括component) 过滤掉属性:null,或者空Collection |
List<Condition> |
SqlQuery.getConditions()
Getter for the field
conditions. |
List<Condition> |
AbstractQueryBuilder.getConditions() |
| Modifier and Type | Method and Description |
|---|---|
SqlQuery |
SqlQuery.add(Condition condition)
add.
|
static Condition |
Conditions.and(Condition... conditions) |
static Map<String,Object> |
Conditions.getParamMap(Condition condition)
获得条件的绑定参数映射
|
static Condition |
Conditions.or(Condition... conditions) |
SqlBuilder |
SqlBuilder.where(Condition... cons)
where.
|
OqlBuilder<T> |
OqlBuilder.where(Condition... conditions)
where.
|
| Modifier and Type | Method and Description |
|---|---|
SqlQuery |
SqlQuery.add(Collection<Condition> cons)
添加一组条件
query中不能添加条件集合作为一个条件,因此这里命名没有采用有区别性的addAll |
static Condition |
Conditions.and(List<Condition> conditions) |
static Map<String,Object> |
Conditions.getParamMap(Collection<Condition> conditions)
获得条件的绑定参数映射
|
static Condition |
Conditions.or(List<Condition> conditions) |
void |
SqlQuery.setConditions(List<Condition> conditions)
Setter for the field
conditions. |
static String |
Conditions.toQueryString(List<Condition> conditions) |
SqlBuilder |
SqlBuilder.where(Collection<Condition> cons)
添加一组条件
query中不能添加条件集合作为一个条件,因此这里命名没有采用有区别性的addAll |
OqlBuilder<T> |
OqlBuilder.where(Collection<Condition> cons)
添加一组条件
query中不能添加条件集合作为一个条件,因此这里命名没有采用有区别性的addAll |
Copyright © 2005–2018 The Beangle Software. All rights reserved.