| 限定符和类型 | 方法和说明 |
|---|---|
Children |
AbstractChainWrapper.and(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.and(QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.elemMatch(boolean condition,
SFunction<?,Object> column,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.elemMatch(boolean condition,
String column,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.elemMatch(SFunction<?,Object> column,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.elemMatch(String column,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.nor(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.nor(QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.or(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper) |
Children |
AbstractChainWrapper.or(QueryChainWrapper<?,?> queryChainWrapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
Children |
AggregateChainWrapper.match(QueryChainWrapper<?,?> queryChainWrapper) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
InjectQueryWrapper |
class |
LambdaQueryChainInjectWrapper |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryChainWrapper<Map<String,Object>,InjectQueryWrapper> |
InjectQueryWrapper.lambdaQuery()
链式调用
|
| 限定符和类型 | 方法和说明 |
|---|---|
Children |
Compare.and(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper)
并且 在or中使用
|
Children |
Compare.and(QueryChainWrapper<?,?> queryChainWrapper)
并且 在or中使用
|
Children |
Compare.elemMatch(boolean condition,
SFunction<?,Object> column,
QueryChainWrapper<?,?> queryChainWrapper)
匹配数组中的值
|
Children |
Compare.elemMatch(boolean condition,
String column,
QueryChainWrapper<?,?> queryChainWrapper)
匹配数组中的值
|
Children |
Compare.elemMatch(SFunction<?,Object> column,
QueryChainWrapper<?,?> queryChainWrapper)
匹配数组中的值
|
Children |
Compare.elemMatch(String column,
QueryChainWrapper<?,?> queryChainWrapper)
匹配数组中的值
|
Children |
Compare.nor(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper)
查询的文档必须不符合所有条件
|
Children |
Compare.nor(QueryChainWrapper<?,?> queryChainWrapper)
查询的文档必须不符合所有条件
|
Children |
Compare.or(boolean condition,
QueryChainWrapper<?,?> queryChainWrapper)
或者
|
Children |
Compare.or(QueryChainWrapper<?,?> queryChainWrapper)
或者
|
| 限定符和类型 | 方法和说明 |
|---|---|
Children |
Aggregate.match(QueryChainWrapper<?,?> queryChainWrapper)
过滤文档记录,只将匹配的文档记录传递到管道中的下一个步骤
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
InjectQuery.count(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取总行数
|
long |
InjectQuery.count(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取总行数
|
Map<String,Object> |
InjectQuery.limitOne(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会取第一条返回 |
Map<String,Object> |
InjectQuery.limitOne(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会取第一条返回 |
List<Map<String,Object>> |
InjectQuery.list(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
List<Map<String,Object>> |
InjectQuery.list(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
Map<String,Object> |
InjectQuery.one(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会抛出 |
Map<String,Object> |
InjectQuery.one(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会抛出 |
PageResult<Map<String,Object>> |
InjectQuery.page(com.mongodb.client.ClientSession clientSession,
String collectionName,
Integer pageNum,
Integer pageSize,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
InjectQuery.page(com.mongodb.client.ClientSession clientSession,
String collectionName,
PageParam pageParam,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
InjectQuery.page(String collectionName,
Integer pageNum,
Integer pageSize,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
InjectQuery.page(String collectionName,
PageParam pageParam,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
QueryChainWrapper<T,Children extends QueryChainWrapper<T,Children>> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
LambdaQueryChainWrapper<T>
查询实现
|
class |
QueryWrapper<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryChainWrapper<T,QueryWrapper<T>> |
QueryWrapper.lambdaQuery()
链式调用
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
MongoPlusMapMapper.count(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
long |
MongoPlusMapMapper.count(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
Map<String,Object> |
MongoPlusMapMapper.limitOne(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
Map<String,Object> |
MongoPlusMapMapper.limitOne(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
List<Map<String,Object>> |
MongoPlusMapMapper.list(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
List<Map<String,Object>> |
MongoPlusMapMapper.list(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
Map<String,Object> |
MongoPlusMapMapper.one(com.mongodb.client.ClientSession clientSession,
String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
Map<String,Object> |
MongoPlusMapMapper.one(String collectionName,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
MongoPlusMapMapper.page(com.mongodb.client.ClientSession clientSession,
String collectionName,
Integer pageNum,
Integer pageSize,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
MongoPlusMapMapper.page(com.mongodb.client.ClientSession clientSession,
String collectionName,
PageParam pageParam,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
MongoPlusMapMapper.page(String collectionName,
Integer pageNum,
Integer pageSize,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
PageResult<Map<String,Object>> |
MongoPlusMapMapper.page(String collectionName,
PageParam pageParam,
QueryChainWrapper<Map<String,Object>,?> queryChainWrapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
IService.count(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
long |
IService.count(QueryChainWrapper<T,?> queryChainWrapper) |
T |
IService.limitOne(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会取第一条返回 |
T |
IService.limitOne(QueryChainWrapper<T,?> queryChainWrapper)
获取单个,返回T类型的对象
注:如果查询到大于一条数据,会取第一条返回 |
List<T> |
IService.list(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
List<T> |
IService.list(QueryChainWrapper<T,?> queryChainWrapper) |
T |
IService.one(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
T |
IService.one(QueryChainWrapper<T,?> queryChainWrapper) |
PageResult<T> |
IService.page(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper,
Integer pageNum,
Integer pageSize) |
PageResult<T> |
IService.page(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper,
PageParam pageParam) |
PageResult<T> |
IService.page(QueryChainWrapper<T,?> queryChainWrapper,
Integer pageNum,
Integer pageSize) |
PageResult<T> |
IService.page(QueryChainWrapper<T,?> queryChainWrapper,
PageParam pageParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
ServiceImpl.count(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
long |
ServiceImpl.count(QueryChainWrapper<T,?> queryChainWrapper) |
T |
ServiceImpl.limitOne(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
T |
ServiceImpl.limitOne(QueryChainWrapper<T,?> queryChainWrapper) |
List<T> |
ServiceImpl.list(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
List<T> |
ServiceImpl.list(QueryChainWrapper<T,?> queryChainWrapper) |
T |
ServiceImpl.one(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper) |
T |
ServiceImpl.one(QueryChainWrapper<T,?> queryChainWrapper) |
PageResult<T> |
ServiceImpl.page(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper,
Integer pageNum,
Integer pageSize) |
PageResult<T> |
ServiceImpl.page(com.mongodb.client.ClientSession clientSession,
QueryChainWrapper<T,?> queryChainWrapper,
PageParam pageParam) |
PageResult<T> |
ServiceImpl.page(QueryChainWrapper<T,?> queryChainWrapper,
Integer pageNum,
Integer pageSize) |
PageResult<T> |
ServiceImpl.page(QueryChainWrapper<T,?> queryChainWrapper,
PageParam pageParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> QueryChainWrapper<T,QueryWrapper<T>> |
ChainWrappers.lambdaQueryChain() |
static QueryChainWrapper<Map<String,Object>,InjectQueryWrapper> |
ChainWrappers.lambdaQueryChainInject() |
Copyright © 2023. All rights reserved.