public class LambdaEsUpdateWrapper<T> extends AbstractLambdaUpdateWrapper<T,LambdaEsUpdateWrapper<T>> implements Update<LambdaEsUpdateWrapper<T>,cn.easyes.common.params.SFunction<T,?>>
Copyright © 2021 xpc1024 All Rights Reserved
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.elasticsearch.search.builder.SearchSourceBuilder |
searchSourceBuilder
用户自定义的searchSourceBuilder 用于少数场景更新时指定混合查询
|
aggregationParamList, baseEsParamList, baseSortParams, distinctField, entity, entityClass, geoParam, matchAllQuery, orderByParams, typedThisenableMust2Filter, indexNames| 构造器和说明 |
|---|
LambdaEsUpdateWrapper()
不建议直接 new 该实例,使用 EsWrappers.lambdaQuery(entity)
|
LambdaEsUpdateWrapper(Class<T> entityClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.elasticsearch.action.search.SearchRequest |
getSearchRequest()
获取查询条件 待优化
|
LambdaEsUpdateWrapper<T> |
index(boolean condition,
String... indexNames)
设置当前更新操作作用的索引
|
protected LambdaEsUpdateWrapper<T> |
instance()
子类返回一个自己的新对象
|
LambdaEsUpdateWrapper<T> |
set(boolean condition,
String column,
Object val)
设置 更新 SQL 的 SET 片段
|
LambdaEsUpdateWrapper<T> |
setSearchSourceBuilder(boolean condition,
org.elasticsearch.search.builder.SearchSourceBuilder searchSourceBuilder)
用户自定义SearchSourceBuilder 用于更新时采用混合查询
|
allEq, allEq, and, avg, between, distinct, eq, ge, geoBoundingBox, geoDistance, geoDistance, geoPolygon, geoShape, geoShape, getCheckEntityClass, groupBy, gt, hasChild, hasParent, in, initEntityClass, initNeed, isNotNull, isNull, le, like, likeLeft, likeRight, lt, match, matchAllQuery, matchPhrase, matchPhrasePrefixQuery, max, min, multiMatchQuery, ne, nestedMatch, notBetween, notIn, notInGeoBoundingBox, notInGeoDistance, notInGeoDistance, notInGeoPolygon, notInGeoShape, notInGeoShape, notLike, notMatch, or, or, orderBy, orderBy, orderByDistanceAsc, orderByDistanceDesc, parentId, prefixQuery, queryStringQuery, setEntity, setEntityClass, sort, sortByScore, sum, termsAggregationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallEq, allEq, allEq, allEq, between, between, between, between, between, between, between, eq, eq, eq, eq, eq, eq, eq, ge, ge, ge, ge, ge, ge, ge, gt, gt, gt, gt, gt, gt, gt, hasChild, hasChild, hasChild, hasChild, hasChild, hasChild, hasChild, hasParent, hasParent, hasParent, hasParent, hasParent, hasParent, hasParent, le, le, le, le, le, le, le, like, like, like, like, like, like, like, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, likeRight, likeRight, lt, lt, lt, lt, lt, lt, lt, match, match, match, match, match, match, match, matchAllQuery, matchPhrase, matchPhrase, matchPhrase, matchPhrase, matchPhrase, matchPhrase, matchPhrase, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, matchPhrasePrefixQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, multiMatchQuery, ne, ne, ne, ne, ne, ne, ne, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, nestedMatch, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notLike, notLike, notLike, notLike, notLike, notLike, notLike, notMatch, notMatch, notMatch, notMatch, notMatch, notMatch, notMatch, parentId, parentId, parentId, prefixQuery, prefixQuery, prefixQuery, prefixQuery, prefixQuery, prefixQuery, prefixQuery, queryStringQuery, queryStringQueryavg, avg, avg, avg, avg, avg, avg, avg, avg, distinct, distinct, distinct, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, in, in, in, in, in, in, in, in, in, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, isNull, isNull, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, orderBy, orderBy, orderBy, orderBy, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceAsc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, orderByDistanceDesc, sort, sort, sortByScore, sortByScore, sortByScore, sum, sum, sum, sum, sum, sum, sum, sum, sum, termsAggregation, termsAggregation, termsAggregation, termsAggregation, termsAggregation, termsAggregation, termsAggregation, termsAggregation, termsAggregationgeoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoDistance, geoPolygon, geoPolygon, geoPolygon, geoPolygon, geoPolygon, geoPolygon, geoPolygon, geoPolygonStr, geoPolygonStr, geoPolygonStr, geoPolygonStr, geoPolygonStr, geoPolygonStr, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, geoShape, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoBoundingBox, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoDistance, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoPolygon, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShape, notInGeoShapeprotected org.elasticsearch.search.builder.SearchSourceBuilder searchSourceBuilder
public LambdaEsUpdateWrapper()
public LambdaEsUpdateWrapper<T> set(boolean condition, String column, Object val)
Updateset 在接口中 Update<LambdaEsUpdateWrapper<T>,cn.easyes.common.params.SFunction<T,?>>condition - 条件column - 列val - 值public LambdaEsUpdateWrapper<T> index(boolean condition, String... indexNames)
Updateindex 在接口中 Update<LambdaEsUpdateWrapper<T>,cn.easyes.common.params.SFunction<T,?>>condition - 条件indexNames - 索引名protected LambdaEsUpdateWrapper<T> instance()
AbstractWrapperinstance 在类中 AbstractWrapper<T,cn.easyes.common.params.SFunction<T,?>,LambdaEsUpdateWrapper<T>>public LambdaEsUpdateWrapper<T> setSearchSourceBuilder(boolean condition, org.elasticsearch.search.builder.SearchSourceBuilder searchSourceBuilder)
UpdatesetSearchSourceBuilder 在接口中 Update<LambdaEsUpdateWrapper<T>,cn.easyes.common.params.SFunction<T,?>>condition - 条件searchSourceBuilder - 用户自定义的SearchSourceBuilderprotected org.elasticsearch.action.search.SearchRequest getSearchRequest()
WrappergetSearchRequest 在类中 Wrapper<T>Copyright © 2022. All rights reserved.