| 程序包 | 说明 | 
|---|---|
| org.nutz.dao | 
 这是 Nutz 最重要的包之一,它主要围绕着 org.nutz.dao.Dao 接口提供了一系列的功能
 
 总之,啥都别说了,光看看名字就晓得是干啥用的了。 
 | 
| org.nutz.dao.impl.jdbc | 
 数据库方言 
 | 
| org.nutz.dao.impl.sql | 
 自定义Sql及抽象Sql结构 
 | 
| org.nutz.dao.impl.sql.pojo | |
| org.nutz.dao.sql | |
| org.nutz.dao.util | 
 Dao工具集 
 | 
| org.nutz.dao.util.cri | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
Cnd
是 Condition 的一个实现,这个类给你比较方便的方法来构建 Condition 接口的实例。 
 | 
| 限定符和类型 | 字段和说明 | 
|---|---|
protected ArrayList<PItem> | 
NutPojo.items
供子类访问的语句元素 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
PItem | 
NutPojo.getItem(int index)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
Pojo | 
NutPojo.append(PItem... itemAry)  | 
Pojo | 
NutPojo.insertFirst(PItem... itemAry)  | 
Pojo | 
NutPojo.setItem(int index,
       PItem pi)  | 
| 限定符和类型 | 类和说明 | 
|---|---|
protected static class  | 
NutPojoMaker.QueryJoinFeilds  | 
| 限定符和类型 | 字段和说明 | 
|---|---|
protected List<PItem> | 
NutSql.items  | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
AbstractPItem  | 
class  | 
ConditionPItem  | 
class  | 
EntityTableNamePItem  | 
class  | 
EntityViewNamePItem  | 
class  | 
InsertByChainPItem  | 
class  | 
InsertFieldsPItem  | 
class  | 
InsertValuesPItem  | 
class  | 
NoParamsPItem  | 
class  | 
PkConditionPItem  | 
class  | 
QueryEntityFieldsPItem  | 
class  | 
SingleColumnCondtionPItem  | 
class  | 
SqlTypePItem  | 
class  | 
StaticPItem  | 
class  | 
UpdateFieldsByChainPItem  | 
class  | 
UpdateFieldsPItem  | 
| 限定符和类型 | 接口和说明 | 
|---|---|
interface  | 
Criteria
这个接口是对 Condition 接口进行扩充,主要为了能够更好的利用 PreparedStatement 
 | 
interface  | 
GroupBy  | 
interface  | 
OrderBy  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
PItem | 
Pojo.getItem(int index)
获取 POJO 的一个语句元素 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
Pojo | 
Pojo.append(PItem... itemAry)
为POJO语句增加一个或多个语句元素 
 | 
Pojo | 
Pojo.insertFirst(PItem... itemAry)
在 POJO 所有的语句前插入一组语句元素 
 | 
Pojo | 
Pojo.setItem(int index,
       PItem pi)
置换 POJO 的一个语句元素 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
static PItem[] | 
Pojos.Items.cnd(Condition cnd)  | 
static PItem | 
Pojos.Items.cndAuto(Entity<?> en,
       Object obj)  | 
static PItem | 
Pojos.Items.cndColumn(MappingField mappingField,
         Object def)  | 
static PItem | 
Pojos.Items.cndColumn(String colName,
         MappingField mappingField,
         Object def)  | 
static PItem | 
Pojos.Items.cndId(Entity<?> en,
     Number id)  | 
static PItem | 
Pojos.Items.cndName(Entity<?> en,
       String name)  | 
static PItem | 
Pojos.Items.cndPk(Entity<?> en,
     Object[] pks)  | 
static PItem | 
Pojos.Items.entityTableName()  | 
static PItem | 
Pojos.Items.entityViewName()  | 
static PItem | 
Pojos.Items.insertFields()  | 
static PItem | 
Pojos.Items.insertValues()  | 
static PItem | 
Pojos.Items.queryEntityFields()  | 
static PItem | 
Pojos.Items.sqlType()  | 
static PItem | 
Pojos.Items.updateFields(Object refer)  | 
static PItem | 
Pojos.Items.updateFieldsBy(Chain chain)  | 
static PItem | 
Pojos.Items.wrap(String str)  | 
static PItem | 
Pojos.Items.wrapf(String fmt,
     Object... args)  | 
| 限定符和类型 | 接口和说明 | 
|---|---|
interface  | 
SqlExpression  | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
AbstractSqlExpression  | 
class  | 
BetweenExpression
between ? 
 | 
class  | 
GroupBySet  | 
class  | 
IntRange  | 
class  | 
IsNull  | 
class  | 
Like  | 
class  | 
LongRange  | 
class  | 
NameRange  | 
class  | 
NoParamsSqlExpression  | 
class  | 
NumberRange  | 
class  | 
OrderByItem  | 
class  | 
OrderBySet  | 
class  | 
SimpleCriteria  | 
class  | 
SimpleExpression  | 
class  | 
SqlExpressionGroup
组合一组表达式,只能增加,不能减少 
 | 
class  | 
SqlRange  | 
class  | 
Static
在表达式之间插入字符串 
 | 
Copyright © 2017. All rights reserved.