| Package | Description |
|---|---|
| org.pinus4j.api.query |
这个包中的类封装了数据库查询.
|
| Modifier and Type | Field and Description |
|---|---|
private Condition[] |
Condition.orCond
保存or查询.
|
| Modifier and Type | Field and Description |
|---|---|
private List<Condition> |
QueryImpl.condList
保存查询条件.
|
| Modifier and Type | Method and Description |
|---|---|
static Condition |
Condition.eq(String field,
Object value)
等于条件.
|
static Condition |
Condition.gt(String field,
Object value)
大于条件.
|
static Condition |
Condition.gte(String field,
Object value)
大于等于条件.
|
static Condition |
Condition.in(String field,
boolean[] values) |
static Condition |
Condition.in(String field,
byte[] values) |
static Condition |
Condition.in(String field,
double[] values) |
static Condition |
Condition.in(String field,
float[] values) |
static Condition |
Condition.in(String field,
int[] values) |
static Condition |
Condition.in(String field,
long[] values) |
static Condition |
Condition.in(String field,
Object... values)
in操作.
|
static Condition |
Condition.in(String field,
short[] values) |
static Condition |
Condition.like(String field,
String value)
like查询.
|
static Condition |
Condition.lt(String field,
Object value)
小于条件.
|
static Condition |
Condition.lte(String field,
Object value)
小于等于条件.
|
static Condition |
Condition.noteq(String field,
Object value)
不等于条件.
|
static Condition |
Condition.or(Condition... conds)
或查询.
|
| Modifier and Type | Method and Description |
|---|---|
IQuery |
QueryImpl.add(Condition cond) |
IQuery |
IQuery.add(Condition cond)
添加查询条件.
|
static Condition |
Condition.or(Condition... conds)
或查询.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryImpl.setCondList(List<Condition> condList) |
| Constructor and Description |
|---|
Condition(Condition... conds) |
Copyright © 2015. All rights reserved.