| 程序包 | 说明 |
|---|---|
| cn.easyes.core.biz | |
| cn.easyes.core.toolkit |
| 构造器和说明 |
|---|
EntityFieldInfo(GlobalConfig.DbConfig dbConfig,
Field field)
不存在 TableField 注解时, 使用的构造函数
|
EntityFieldInfo(GlobalConfig.DbConfig dbConfig,
Field field,
cn.easyes.annotation.IndexField tableField)
存在 TableField 注解时, 使用的构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
EsQueryTypeUtil.addQueryByType(org.elasticsearch.index.query.BoolQueryBuilder boolQueryBuilder,
Integer attachType,
boolean enableMust2Filter,
BaseEsParam.FieldValueModel model,
EntityInfo entityInfo,
GlobalConfig.DbConfig dbConfig)
添加查询类型 精确匹配/模糊匹配/范围匹配等
|
static String |
FieldUtils.getRealField(String field,
Map<String,String> mappingColumnMap,
GlobalConfig.DbConfig dbConfig)
获取实际字段名
|
static String |
FieldUtils.getRealFieldNotConvertId(String field,
Map<String,String> mappingColumnMap,
GlobalConfig.DbConfig dbConfig)
获取实际字段名 不转换id
|
static String[] |
FieldUtils.getRealFields(String[] fields,
Map<String,String> mappingColumnMap,
GlobalConfig.DbConfig dbConfig)
获取实际字段名数组
|
Copyright © 2022. All rights reserved.