public abstract class Wrapper<T> extends Object implements Cloneable
Copyright © 2021 xpc1024 All Rights Reserved
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<AggregationParam> |
aggregationParamList
聚合查询参数列表
|
protected String |
aliasName
别名
|
protected List<BaseSortParam> |
baseSortParams
基础排序参数列表
|
protected String |
distinctField
折叠去重字段
|
protected T |
entity
实体对象
|
protected Class<T> |
entityClass
实体类型
|
protected List<EsIndexParam> |
esIndexParamList
索引相关参数列表
|
protected String[] |
exclude
不查字段
|
protected Integer |
from
从第多少条开始查询
|
protected String[] |
include
查询字段
|
protected String[] |
indexNames
当前操作作用的索引名数组
|
protected Map<String,Object> |
mapping
用户手动指定的索引mapping信息,优先级最高
|
protected Integer |
maxResultWindow
最大返回数
|
protected List<OrderByParam> |
orderByParams
排序参数列表
|
protected LinkedList<Param> |
paramQueue
参数列表
|
protected Integer |
replicasNum
副本数
|
protected org.elasticsearch.search.builder.SearchSourceBuilder |
searchSourceBuilder
用户自定义的searchSourceBuilder 用于混合查询
|
protected org.elasticsearch.common.settings.Settings |
settings
用户手动指定的索引settings,优先级最高
|
protected Integer |
shardsNum
分片数
|
protected Integer |
size
查询多少条记录
|
protected List<EsUpdateParam> |
updateParamList
更新参数
|
| 构造器和说明 |
|---|
Wrapper() |
protected T entity
protected String distinctField
protected String[] include
protected String[] exclude
protected Integer from
protected Integer size
protected String[] indexNames
protected LinkedList<Param> paramQueue
protected List<BaseSortParam> baseSortParams
protected List<AggregationParam> aggregationParamList
protected List<OrderByParam> orderByParams
protected List<EsUpdateParam> updateParamList
protected String aliasName
protected Integer shardsNum
protected Integer replicasNum
protected Integer maxResultWindow
protected org.elasticsearch.common.settings.Settings settings
protected List<EsIndexParam> esIndexParamList
protected org.elasticsearch.search.builder.SearchSourceBuilder searchSourceBuilder
Copyright © 2023. All rights reserved.