@@ -42,8 +42,8 @@ public class UpdateQuery {
42
42
@ Nullable private final Boolean fetchSource ;
43
43
@ Nullable private final List <String > fetchSourceIncludes ;
44
44
@ Nullable private final List <String > fetchSourceExcludes ;
45
- @ Nullable private final Integer ifSeqNo ;
46
- @ Nullable private final Integer ifPrimaryTerm ;
45
+ @ Nullable private final Long ifSeqNo ;
46
+ @ Nullable private final Long ifPrimaryTerm ;
47
47
@ Nullable private final RefreshPolicy refreshPolicy ;
48
48
@ Nullable private final Integer retryOnConflict ;
49
49
@ Nullable private final String timeout ;
@@ -71,8 +71,8 @@ public static Builder builder(Query query) {
71
71
private UpdateQuery (String id , @ Nullable String script , @ Nullable Map <String , Object > params ,
72
72
@ Nullable Document document , @ Nullable Document upsert , @ Nullable String lang , @ Nullable String routing ,
73
73
@ Nullable Boolean scriptedUpsert , @ Nullable Boolean docAsUpsert , @ Nullable Boolean fetchSource ,
74
- @ Nullable List <String > fetchSourceIncludes , @ Nullable List <String > fetchSourceExcludes , @ Nullable Integer ifSeqNo ,
75
- @ Nullable Integer ifPrimaryTerm , @ Nullable RefreshPolicy refreshPolicy , @ Nullable Integer retryOnConflict ,
74
+ @ Nullable List <String > fetchSourceIncludes , @ Nullable List <String > fetchSourceExcludes , @ Nullable Long ifSeqNo ,
75
+ @ Nullable Long ifPrimaryTerm , @ Nullable RefreshPolicy refreshPolicy , @ Nullable Integer retryOnConflict ,
76
76
@ Nullable String timeout , @ Nullable String waitForActiveShards , @ Nullable Query query ,
77
77
@ Nullable Boolean abortOnVersionConflict , @ Nullable Integer batchSize , @ Nullable Integer maxDocs ,
78
78
@ Nullable Integer maxRetries , @ Nullable String pipeline , @ Nullable Float requestsPerSecond ,
@@ -172,12 +172,12 @@ public List<String> getFetchSourceExcludes() {
172
172
}
173
173
174
174
@ Nullable
175
- public Integer getIfSeqNo () {
175
+ public Long getIfSeqNo () {
176
176
return ifSeqNo ;
177
177
}
178
178
179
179
@ Nullable
180
- public Integer getIfPrimaryTerm () {
180
+ public Long getIfPrimaryTerm () {
181
181
return ifPrimaryTerm ;
182
182
}
183
183
@@ -278,8 +278,8 @@ public static final class Builder {
278
278
@ Nullable private Boolean scriptedUpsert ;
279
279
@ Nullable private Boolean docAsUpsert ;
280
280
@ Nullable private Boolean fetchSource ;
281
- @ Nullable private Integer ifSeqNo ;
282
- @ Nullable private Integer ifPrimaryTerm ;
281
+ @ Nullable private Long ifSeqNo ;
282
+ @ Nullable private Long ifPrimaryTerm ;
283
283
@ Nullable private RefreshPolicy refreshPolicy ;
284
284
@ Nullable private Integer retryOnConflict ;
285
285
@ Nullable private String timeout ;
@@ -351,12 +351,12 @@ public Builder withFetchSource(Boolean fetchSource) {
351
351
return this ;
352
352
}
353
353
354
- public Builder withIfSeqNo (Integer ifSeqNo ) {
354
+ public Builder withIfSeqNo (Long ifSeqNo ) {
355
355
this .ifSeqNo = ifSeqNo ;
356
356
return this ;
357
357
}
358
358
359
- public Builder withIfPrimaryTerm (Integer ifPrimaryTerm ) {
359
+ public Builder withIfPrimaryTerm (Long ifPrimaryTerm ) {
360
360
this .ifPrimaryTerm = ifPrimaryTerm ;
361
361
return this ;
362
362
}
0 commit comments