E - 对应的实体类W - 最终查询器或更新器NQ - 对应的嵌套查询器public interface IWrapper<E extends IEntity,W extends IWrapper<E,W,NQ>,NQ extends IBaseQuery<E,NQ>> extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
allFields() |
WrapperData |
data()
返回查询器或更新器对应的xml数据
系统方法, 请勿调用
|
default String |
getTableAlias()
query/update表别名
|
default W |
hint(HintType type,
String hint)
在select或update指定位置插入hint语句
|
default W |
hint(String hint)
在select或update开头插入hint语句
|
Optional<IMapping> |
mapping()
数据库映射定义
|
IFragment |
table(boolean notFoundError)
query/update表名
|
WhereBase<?,W,NQ> |
where()
返回where
|
WrapperData data()
default W hint(HintType type, String hint)
type - 指定位置hint - hint语句default String getTableAlias()
IFragment table(boolean notFoundError)
notFoundError - 未找到表名时, 是否抛出异常Copyright © 2021. All rights reserved.