1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.codelibs.fess.es.config.cbean.cq.bs;
17
18 import java.time.LocalDateTime;
19 import java.util.ArrayList;
20 import java.util.Collection;
21
22 import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
23 import org.codelibs.fess.es.config.cbean.cq.BadWordCQ;
24 import org.dbflute.cbean.ckey.ConditionKey;
25 import org.elasticsearch.index.query.BoolQueryBuilder;
26 import org.elasticsearch.index.query.CommonTermsQueryBuilder;
27 import org.elasticsearch.index.query.ExistsQueryBuilder;
28 import org.elasticsearch.index.query.IdsQueryBuilder;
29 import org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder;
30 import org.elasticsearch.index.query.MatchPhraseQueryBuilder;
31 import org.elasticsearch.index.query.MatchQueryBuilder;
32 import org.elasticsearch.index.query.PrefixQueryBuilder;
33 import org.elasticsearch.index.query.RangeQueryBuilder;
34 import org.elasticsearch.index.query.RegexpQueryBuilder;
35 import org.elasticsearch.index.query.SpanTermQueryBuilder;
36 import org.elasticsearch.index.query.TermQueryBuilder;
37 import org.elasticsearch.index.query.TermsQueryBuilder;
38 import org.elasticsearch.index.query.WildcardQueryBuilder;
39 import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
40 import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
41
42
43
44
45 public abstract class BsBadWordCQ extends EsAbstractConditionQuery {
46
47 protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
48
49
50
51
52 @Override
53 public String asTableDbName() {
54 return "bad_word";
55 }
56
57 @Override
58 public String xgetAliasName() {
59 return "bad_word";
60 }
61
62
63
64
65 public void functionScore(OperatorCall<BadWordCQ> queryLambda, ScoreFunctionCall<ScoreFunctionCreator<BadWordCQ>> functionsLambda,
66 final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
67 BadWordCQ cq = new BadWordCQ();
68 queryLambda.callback(cq);
69 final Collection<FilterFunctionBuilder> list = new ArrayList<>();
70 if (functionsLambda != null) {
71 functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
72 BadWordCQ cf = new BadWordCQ();
73 cqLambda.callback(cf);
74 list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
75 });
76 }
77 final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
78 if (opLambda != null) {
79 opLambda.callback(builder);
80 }
81 }
82
83 public void filtered(FilteredCall<BadWordCQ, BadWordCQ> filteredLambda) {
84 filtered(filteredLambda, null);
85 }
86
87 public void filtered(FilteredCall<BadWordCQ, BadWordCQ> filteredLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
88 bool((must, should, mustNot, filter) -> {
89 filteredLambda.callback(must, filter);
90 }, opLambda);
91 }
92
93 public void not(OperatorCall<BadWordCQ> notLambda) {
94 not(notLambda, null);
95 }
96
97 public void not(final OperatorCall<BadWordCQ> notLambda, final ConditionOptionCall<BoolQueryBuilder> opLambda) {
98 bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda);
99 }
100
101 public void bool(BoolCall<BadWordCQ> boolLambda) {
102 bool(boolLambda, null);
103 }
104
105 public void bool(BoolCall<BadWordCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
106 BadWordCQ mustQuery = new BadWordCQ();
107 BadWordCQ shouldQuery = new BadWordCQ();
108 BadWordCQ mustNotQuery = new BadWordCQ();
109 BadWordCQ filterQuery = new BadWordCQ();
110 boolLambda.callback(mustQuery, shouldQuery, mustNotQuery, filterQuery);
111 if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
112 BoolQueryBuilder builder =
113 regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(), mustNotQuery.getQueryBuilderList(),
114 filterQuery.getQueryBuilderList());
115 if (opLambda != null) {
116 opLambda.callback(builder);
117 }
118 }
119 }
120
121
122
123
124 public void setId_Equal(String id) {
125 setId_Term(id, null);
126 }
127
128 public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
129 setId_Term(id, opLambda);
130 }
131
132 public void setId_Term(String id) {
133 setId_Term(id, null);
134 }
135
136 public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
137 TermQueryBuilder builder = regTermQ("_id", id);
138 if (opLambda != null) {
139 opLambda.callback(builder);
140 }
141 }
142
143 public void setId_NotEqual(String id) {
144 setId_NotTerm(id, null);
145 }
146
147 public void setId_NotTerm(String id) {
148 setId_NotTerm(id, null);
149 }
150
151 public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
152 setId_NotTerm(id, opLambda);
153 }
154
155 public void setId_NotTerm(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
156 not(not -> not.setId_Term(id), opLambda);
157 }
158
159 public void setId_Terms(Collection<String> idList) {
160 setId_Terms(idList, null);
161 }
162
163 public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
164 IdsQueryBuilder builder = regIdsQ(idList);
165 if (opLambda != null) {
166 opLambda.callback(builder);
167 }
168 }
169
170 public void setId_InScope(Collection<String> idList) {
171 setId_Terms(idList, null);
172 }
173
174 public void setId_InScope(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
175 setId_Terms(idList, opLambda);
176 }
177
178 public BsBadWordCQ addOrderBy_Id_Asc() {
179 regOBA("_uid");
180 return this;
181 }
182
183 public BsBadWordCQ addOrderBy_Id_Desc() {
184 regOBD("_uid");
185 return this;
186 }
187
188 public void setCreatedBy_Equal(String createdBy) {
189 setCreatedBy_Term(createdBy, null);
190 }
191
192 public void setCreatedBy_Equal(String createdBy, ConditionOptionCall<TermQueryBuilder> opLambda) {
193 setCreatedBy_Term(createdBy, opLambda);
194 }
195
196 public void setCreatedBy_Term(String createdBy) {
197 setCreatedBy_Term(createdBy, null);
198 }
199
200 public void setCreatedBy_Term(String createdBy, ConditionOptionCall<TermQueryBuilder> opLambda) {
201 TermQueryBuilder builder = regTermQ("createdBy", createdBy);
202 if (opLambda != null) {
203 opLambda.callback(builder);
204 }
205 }
206
207 public void setCreatedBy_NotEqual(String createdBy) {
208 setCreatedBy_NotTerm(createdBy, null);
209 }
210
211 public void setCreatedBy_NotTerm(String createdBy) {
212 setCreatedBy_NotTerm(createdBy, null);
213 }
214
215 public void setCreatedBy_NotEqual(String createdBy, ConditionOptionCall<BoolQueryBuilder> opLambda) {
216 setCreatedBy_NotTerm(createdBy, opLambda);
217 }
218
219 public void setCreatedBy_NotTerm(String createdBy, ConditionOptionCall<BoolQueryBuilder> opLambda) {
220 not(not -> not.setCreatedBy_Term(createdBy), opLambda);
221 }
222
223 public void setCreatedBy_Terms(Collection<String> createdByList) {
224 setCreatedBy_Terms(createdByList, null);
225 }
226
227 public void setCreatedBy_Terms(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
228 TermsQueryBuilder builder = regTermsQ("createdBy", createdByList);
229 if (opLambda != null) {
230 opLambda.callback(builder);
231 }
232 }
233
234 public void setCreatedBy_InScope(Collection<String> createdByList) {
235 setCreatedBy_Terms(createdByList, null);
236 }
237
238 public void setCreatedBy_InScope(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
239 setCreatedBy_Terms(createdByList, opLambda);
240 }
241
242 public void setCreatedBy_Match(String createdBy) {
243 setCreatedBy_Match(createdBy, null);
244 }
245
246 public void setCreatedBy_Match(String createdBy, ConditionOptionCall<MatchQueryBuilder> opLambda) {
247 MatchQueryBuilder builder = regMatchQ("createdBy", createdBy);
248 if (opLambda != null) {
249 opLambda.callback(builder);
250 }
251 }
252
253 public void setCreatedBy_MatchPhrase(String createdBy) {
254 setCreatedBy_MatchPhrase(createdBy, null);
255 }
256
257 public void setCreatedBy_MatchPhrase(String createdBy, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
258 MatchPhraseQueryBuilder builder = regMatchPhraseQ("createdBy", createdBy);
259 if (opLambda != null) {
260 opLambda.callback(builder);
261 }
262 }
263
264 public void setCreatedBy_MatchPhrasePrefix(String createdBy) {
265 setCreatedBy_MatchPhrasePrefix(createdBy, null);
266 }
267
268 public void setCreatedBy_MatchPhrasePrefix(String createdBy, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
269 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("createdBy", createdBy);
270 if (opLambda != null) {
271 opLambda.callback(builder);
272 }
273 }
274
275 public void setCreatedBy_Fuzzy(String createdBy) {
276 setCreatedBy_Fuzzy(createdBy, null);
277 }
278
279 public void setCreatedBy_Fuzzy(String createdBy, ConditionOptionCall<MatchQueryBuilder> opLambda) {
280 MatchQueryBuilder builder = regFuzzyQ("createdBy", createdBy);
281 if (opLambda != null) {
282 opLambda.callback(builder);
283 }
284 }
285
286 public void setCreatedBy_Prefix(String createdBy) {
287 setCreatedBy_Prefix(createdBy, null);
288 }
289
290 public void setCreatedBy_Prefix(String createdBy, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
291 PrefixQueryBuilder builder = regPrefixQ("createdBy", createdBy);
292 if (opLambda != null) {
293 opLambda.callback(builder);
294 }
295 }
296
297 public void setCreatedBy_Wildcard(String createdBy) {
298 setCreatedBy_Wildcard(createdBy, null);
299 }
300
301 public void setCreatedBy_Wildcard(String createdBy, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
302 WildcardQueryBuilder builder = regWildcardQ("createdBy", createdBy);
303 if (opLambda != null) {
304 opLambda.callback(builder);
305 }
306 }
307
308 public void setCreatedBy_Regexp(String createdBy) {
309 setCreatedBy_Regexp(createdBy, null);
310 }
311
312 public void setCreatedBy_Regexp(String createdBy, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
313 RegexpQueryBuilder builder = regRegexpQ("createdBy", createdBy);
314 if (opLambda != null) {
315 opLambda.callback(builder);
316 }
317 }
318
319 public void setCreatedBy_SpanTerm(String createdBy) {
320 setCreatedBy_SpanTerm("createdBy", null);
321 }
322
323 public void setCreatedBy_SpanTerm(String createdBy, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
324 SpanTermQueryBuilder builder = regSpanTermQ("createdBy", createdBy);
325 if (opLambda != null) {
326 opLambda.callback(builder);
327 }
328 }
329
330 public void setCreatedBy_GreaterThan(String createdBy) {
331 setCreatedBy_GreaterThan(createdBy, null);
332 }
333
334 public void setCreatedBy_GreaterThan(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
335 final Object _value = createdBy;
336 RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_GREATER_THAN, _value);
337 if (opLambda != null) {
338 opLambda.callback(builder);
339 }
340 }
341
342 public void setCreatedBy_LessThan(String createdBy) {
343 setCreatedBy_LessThan(createdBy, null);
344 }
345
346 public void setCreatedBy_LessThan(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
347 final Object _value = createdBy;
348 RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_LESS_THAN, _value);
349 if (opLambda != null) {
350 opLambda.callback(builder);
351 }
352 }
353
354 public void setCreatedBy_GreaterEqual(String createdBy) {
355 setCreatedBy_GreaterEqual(createdBy, null);
356 }
357
358 public void setCreatedBy_GreaterEqual(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
359 final Object _value = createdBy;
360 RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_GREATER_EQUAL, _value);
361 if (opLambda != null) {
362 opLambda.callback(builder);
363 }
364 }
365
366 public void setCreatedBy_LessEqual(String createdBy) {
367 setCreatedBy_LessEqual(createdBy, null);
368 }
369
370 public void setCreatedBy_LessEqual(String createdBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
371 final Object _value = createdBy;
372 RangeQueryBuilder builder = regRangeQ("createdBy", ConditionKey.CK_LESS_EQUAL, _value);
373 if (opLambda != null) {
374 opLambda.callback(builder);
375 }
376 }
377
378 public void setCreatedBy_Exists() {
379 setCreatedBy_Exists(null);
380 }
381
382 public void setCreatedBy_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
383 ExistsQueryBuilder builder = regExistsQ("createdBy");
384 if (opLambda != null) {
385 opLambda.callback(builder);
386 }
387 }
388
389 public void setCreatedBy_CommonTerms(String createdBy) {
390 setCreatedBy_CommonTerms(createdBy, null);
391 }
392
393 public void setCreatedBy_CommonTerms(String createdBy, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
394 CommonTermsQueryBuilder builder = regCommonTermsQ("createdBy", createdBy);
395 if (opLambda != null) {
396 opLambda.callback(builder);
397 }
398 }
399
400 public BsBadWordCQ addOrderBy_CreatedBy_Asc() {
401 regOBA("createdBy");
402 return this;
403 }
404
405 public BsBadWordCQ addOrderBy_CreatedBy_Desc() {
406 regOBD("createdBy");
407 return this;
408 }
409
410 public void setCreatedTime_Equal(Long createdTime) {
411 setCreatedTime_Term(createdTime, null);
412 }
413
414 public void setCreatedTime_Equal(Long createdTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
415 setCreatedTime_Term(createdTime, opLambda);
416 }
417
418 public void setCreatedTime_Term(Long createdTime) {
419 setCreatedTime_Term(createdTime, null);
420 }
421
422 public void setCreatedTime_Term(Long createdTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
423 TermQueryBuilder builder = regTermQ("createdTime", createdTime);
424 if (opLambda != null) {
425 opLambda.callback(builder);
426 }
427 }
428
429 public void setCreatedTime_NotEqual(Long createdTime) {
430 setCreatedTime_NotTerm(createdTime, null);
431 }
432
433 public void setCreatedTime_NotTerm(Long createdTime) {
434 setCreatedTime_NotTerm(createdTime, null);
435 }
436
437 public void setCreatedTime_NotEqual(Long createdTime, ConditionOptionCall<BoolQueryBuilder> opLambda) {
438 setCreatedTime_NotTerm(createdTime, opLambda);
439 }
440
441 public void setCreatedTime_NotTerm(Long createdTime, ConditionOptionCall<BoolQueryBuilder> opLambda) {
442 not(not -> not.setCreatedTime_Term(createdTime), opLambda);
443 }
444
445 public void setCreatedTime_Terms(Collection<Long> createdTimeList) {
446 setCreatedTime_Terms(createdTimeList, null);
447 }
448
449 public void setCreatedTime_Terms(Collection<Long> createdTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
450 TermsQueryBuilder builder = regTermsQ("createdTime", createdTimeList);
451 if (opLambda != null) {
452 opLambda.callback(builder);
453 }
454 }
455
456 public void setCreatedTime_InScope(Collection<Long> createdTimeList) {
457 setCreatedTime_Terms(createdTimeList, null);
458 }
459
460 public void setCreatedTime_InScope(Collection<Long> createdTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
461 setCreatedTime_Terms(createdTimeList, opLambda);
462 }
463
464 public void setCreatedTime_Match(Long createdTime) {
465 setCreatedTime_Match(createdTime, null);
466 }
467
468 public void setCreatedTime_Match(Long createdTime, ConditionOptionCall<MatchQueryBuilder> opLambda) {
469 MatchQueryBuilder builder = regMatchQ("createdTime", createdTime);
470 if (opLambda != null) {
471 opLambda.callback(builder);
472 }
473 }
474
475 public void setCreatedTime_MatchPhrase(Long createdTime) {
476 setCreatedTime_MatchPhrase(createdTime, null);
477 }
478
479 public void setCreatedTime_MatchPhrase(Long createdTime, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
480 MatchPhraseQueryBuilder builder = regMatchPhraseQ("createdTime", createdTime);
481 if (opLambda != null) {
482 opLambda.callback(builder);
483 }
484 }
485
486 public void setCreatedTime_MatchPhrasePrefix(Long createdTime) {
487 setCreatedTime_MatchPhrasePrefix(createdTime, null);
488 }
489
490 public void setCreatedTime_MatchPhrasePrefix(Long createdTime, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
491 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("createdTime", createdTime);
492 if (opLambda != null) {
493 opLambda.callback(builder);
494 }
495 }
496
497 public void setCreatedTime_Fuzzy(Long createdTime) {
498 setCreatedTime_Fuzzy(createdTime, null);
499 }
500
501 public void setCreatedTime_Fuzzy(Long createdTime, ConditionOptionCall<MatchQueryBuilder> opLambda) {
502 MatchQueryBuilder builder = regFuzzyQ("createdTime", createdTime);
503 if (opLambda != null) {
504 opLambda.callback(builder);
505 }
506 }
507
508 public void setCreatedTime_GreaterThan(Long createdTime) {
509 setCreatedTime_GreaterThan(createdTime, null);
510 }
511
512 public void setCreatedTime_GreaterThan(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
513 final Object _value = createdTime;
514 RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_GREATER_THAN, _value);
515 if (opLambda != null) {
516 opLambda.callback(builder);
517 }
518 }
519
520 public void setCreatedTime_LessThan(Long createdTime) {
521 setCreatedTime_LessThan(createdTime, null);
522 }
523
524 public void setCreatedTime_LessThan(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
525 final Object _value = createdTime;
526 RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_LESS_THAN, _value);
527 if (opLambda != null) {
528 opLambda.callback(builder);
529 }
530 }
531
532 public void setCreatedTime_GreaterEqual(Long createdTime) {
533 setCreatedTime_GreaterEqual(createdTime, null);
534 }
535
536 public void setCreatedTime_GreaterEqual(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
537 final Object _value = createdTime;
538 RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_GREATER_EQUAL, _value);
539 if (opLambda != null) {
540 opLambda.callback(builder);
541 }
542 }
543
544 public void setCreatedTime_LessEqual(Long createdTime) {
545 setCreatedTime_LessEqual(createdTime, null);
546 }
547
548 public void setCreatedTime_LessEqual(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
549 final Object _value = createdTime;
550 RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_LESS_EQUAL, _value);
551 if (opLambda != null) {
552 opLambda.callback(builder);
553 }
554 }
555
556 public void setCreatedTime_Exists() {
557 setCreatedTime_Exists(null);
558 }
559
560 public void setCreatedTime_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
561 ExistsQueryBuilder builder = regExistsQ("createdTime");
562 if (opLambda != null) {
563 opLambda.callback(builder);
564 }
565 }
566
567 public void setCreatedTime_CommonTerms(Long createdTime) {
568 setCreatedTime_CommonTerms(createdTime, null);
569 }
570
571 public void setCreatedTime_CommonTerms(Long createdTime, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
572 CommonTermsQueryBuilder builder = regCommonTermsQ("createdTime", createdTime);
573 if (opLambda != null) {
574 opLambda.callback(builder);
575 }
576 }
577
578 public BsBadWordCQ addOrderBy_CreatedTime_Asc() {
579 regOBA("createdTime");
580 return this;
581 }
582
583 public BsBadWordCQ addOrderBy_CreatedTime_Desc() {
584 regOBD("createdTime");
585 return this;
586 }
587
588 public void setSuggestWord_Equal(String suggestWord) {
589 setSuggestWord_Term(suggestWord, null);
590 }
591
592 public void setSuggestWord_Equal(String suggestWord, ConditionOptionCall<TermQueryBuilder> opLambda) {
593 setSuggestWord_Term(suggestWord, opLambda);
594 }
595
596 public void setSuggestWord_Term(String suggestWord) {
597 setSuggestWord_Term(suggestWord, null);
598 }
599
600 public void setSuggestWord_Term(String suggestWord, ConditionOptionCall<TermQueryBuilder> opLambda) {
601 TermQueryBuilder builder = regTermQ("suggestWord", suggestWord);
602 if (opLambda != null) {
603 opLambda.callback(builder);
604 }
605 }
606
607 public void setSuggestWord_NotEqual(String suggestWord) {
608 setSuggestWord_NotTerm(suggestWord, null);
609 }
610
611 public void setSuggestWord_NotTerm(String suggestWord) {
612 setSuggestWord_NotTerm(suggestWord, null);
613 }
614
615 public void setSuggestWord_NotEqual(String suggestWord, ConditionOptionCall<BoolQueryBuilder> opLambda) {
616 setSuggestWord_NotTerm(suggestWord, opLambda);
617 }
618
619 public void setSuggestWord_NotTerm(String suggestWord, ConditionOptionCall<BoolQueryBuilder> opLambda) {
620 not(not -> not.setSuggestWord_Term(suggestWord), opLambda);
621 }
622
623 public void setSuggestWord_Terms(Collection<String> suggestWordList) {
624 setSuggestWord_Terms(suggestWordList, null);
625 }
626
627 public void setSuggestWord_Terms(Collection<String> suggestWordList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
628 TermsQueryBuilder builder = regTermsQ("suggestWord", suggestWordList);
629 if (opLambda != null) {
630 opLambda.callback(builder);
631 }
632 }
633
634 public void setSuggestWord_InScope(Collection<String> suggestWordList) {
635 setSuggestWord_Terms(suggestWordList, null);
636 }
637
638 public void setSuggestWord_InScope(Collection<String> suggestWordList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
639 setSuggestWord_Terms(suggestWordList, opLambda);
640 }
641
642 public void setSuggestWord_Match(String suggestWord) {
643 setSuggestWord_Match(suggestWord, null);
644 }
645
646 public void setSuggestWord_Match(String suggestWord, ConditionOptionCall<MatchQueryBuilder> opLambda) {
647 MatchQueryBuilder builder = regMatchQ("suggestWord", suggestWord);
648 if (opLambda != null) {
649 opLambda.callback(builder);
650 }
651 }
652
653 public void setSuggestWord_MatchPhrase(String suggestWord) {
654 setSuggestWord_MatchPhrase(suggestWord, null);
655 }
656
657 public void setSuggestWord_MatchPhrase(String suggestWord, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
658 MatchPhraseQueryBuilder builder = regMatchPhraseQ("suggestWord", suggestWord);
659 if (opLambda != null) {
660 opLambda.callback(builder);
661 }
662 }
663
664 public void setSuggestWord_MatchPhrasePrefix(String suggestWord) {
665 setSuggestWord_MatchPhrasePrefix(suggestWord, null);
666 }
667
668 public void setSuggestWord_MatchPhrasePrefix(String suggestWord, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
669 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("suggestWord", suggestWord);
670 if (opLambda != null) {
671 opLambda.callback(builder);
672 }
673 }
674
675 public void setSuggestWord_Fuzzy(String suggestWord) {
676 setSuggestWord_Fuzzy(suggestWord, null);
677 }
678
679 public void setSuggestWord_Fuzzy(String suggestWord, ConditionOptionCall<MatchQueryBuilder> opLambda) {
680 MatchQueryBuilder builder = regFuzzyQ("suggestWord", suggestWord);
681 if (opLambda != null) {
682 opLambda.callback(builder);
683 }
684 }
685
686 public void setSuggestWord_Prefix(String suggestWord) {
687 setSuggestWord_Prefix(suggestWord, null);
688 }
689
690 public void setSuggestWord_Prefix(String suggestWord, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
691 PrefixQueryBuilder builder = regPrefixQ("suggestWord", suggestWord);
692 if (opLambda != null) {
693 opLambda.callback(builder);
694 }
695 }
696
697 public void setSuggestWord_Wildcard(String suggestWord) {
698 setSuggestWord_Wildcard(suggestWord, null);
699 }
700
701 public void setSuggestWord_Wildcard(String suggestWord, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
702 WildcardQueryBuilder builder = regWildcardQ("suggestWord", suggestWord);
703 if (opLambda != null) {
704 opLambda.callback(builder);
705 }
706 }
707
708 public void setSuggestWord_Regexp(String suggestWord) {
709 setSuggestWord_Regexp(suggestWord, null);
710 }
711
712 public void setSuggestWord_Regexp(String suggestWord, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
713 RegexpQueryBuilder builder = regRegexpQ("suggestWord", suggestWord);
714 if (opLambda != null) {
715 opLambda.callback(builder);
716 }
717 }
718
719 public void setSuggestWord_SpanTerm(String suggestWord) {
720 setSuggestWord_SpanTerm("suggestWord", null);
721 }
722
723 public void setSuggestWord_SpanTerm(String suggestWord, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
724 SpanTermQueryBuilder builder = regSpanTermQ("suggestWord", suggestWord);
725 if (opLambda != null) {
726 opLambda.callback(builder);
727 }
728 }
729
730 public void setSuggestWord_GreaterThan(String suggestWord) {
731 setSuggestWord_GreaterThan(suggestWord, null);
732 }
733
734 public void setSuggestWord_GreaterThan(String suggestWord, ConditionOptionCall<RangeQueryBuilder> opLambda) {
735 final Object _value = suggestWord;
736 RangeQueryBuilder builder = regRangeQ("suggestWord", ConditionKey.CK_GREATER_THAN, _value);
737 if (opLambda != null) {
738 opLambda.callback(builder);
739 }
740 }
741
742 public void setSuggestWord_LessThan(String suggestWord) {
743 setSuggestWord_LessThan(suggestWord, null);
744 }
745
746 public void setSuggestWord_LessThan(String suggestWord, ConditionOptionCall<RangeQueryBuilder> opLambda) {
747 final Object _value = suggestWord;
748 RangeQueryBuilder builder = regRangeQ("suggestWord", ConditionKey.CK_LESS_THAN, _value);
749 if (opLambda != null) {
750 opLambda.callback(builder);
751 }
752 }
753
754 public void setSuggestWord_GreaterEqual(String suggestWord) {
755 setSuggestWord_GreaterEqual(suggestWord, null);
756 }
757
758 public void setSuggestWord_GreaterEqual(String suggestWord, ConditionOptionCall<RangeQueryBuilder> opLambda) {
759 final Object _value = suggestWord;
760 RangeQueryBuilder builder = regRangeQ("suggestWord", ConditionKey.CK_GREATER_EQUAL, _value);
761 if (opLambda != null) {
762 opLambda.callback(builder);
763 }
764 }
765
766 public void setSuggestWord_LessEqual(String suggestWord) {
767 setSuggestWord_LessEqual(suggestWord, null);
768 }
769
770 public void setSuggestWord_LessEqual(String suggestWord, ConditionOptionCall<RangeQueryBuilder> opLambda) {
771 final Object _value = suggestWord;
772 RangeQueryBuilder builder = regRangeQ("suggestWord", ConditionKey.CK_LESS_EQUAL, _value);
773 if (opLambda != null) {
774 opLambda.callback(builder);
775 }
776 }
777
778 public void setSuggestWord_Exists() {
779 setSuggestWord_Exists(null);
780 }
781
782 public void setSuggestWord_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
783 ExistsQueryBuilder builder = regExistsQ("suggestWord");
784 if (opLambda != null) {
785 opLambda.callback(builder);
786 }
787 }
788
789 public void setSuggestWord_CommonTerms(String suggestWord) {
790 setSuggestWord_CommonTerms(suggestWord, null);
791 }
792
793 public void setSuggestWord_CommonTerms(String suggestWord, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
794 CommonTermsQueryBuilder builder = regCommonTermsQ("suggestWord", suggestWord);
795 if (opLambda != null) {
796 opLambda.callback(builder);
797 }
798 }
799
800 public BsBadWordCQ addOrderBy_SuggestWord_Asc() {
801 regOBA("suggestWord");
802 return this;
803 }
804
805 public BsBadWordCQ addOrderBy_SuggestWord_Desc() {
806 regOBD("suggestWord");
807 return this;
808 }
809
810 public void setTargetLabel_Equal(String targetLabel) {
811 setTargetLabel_Term(targetLabel, null);
812 }
813
814 public void setTargetLabel_Equal(String targetLabel, ConditionOptionCall<TermQueryBuilder> opLambda) {
815 setTargetLabel_Term(targetLabel, opLambda);
816 }
817
818 public void setTargetLabel_Term(String targetLabel) {
819 setTargetLabel_Term(targetLabel, null);
820 }
821
822 public void setTargetLabel_Term(String targetLabel, ConditionOptionCall<TermQueryBuilder> opLambda) {
823 TermQueryBuilder builder = regTermQ("targetLabel", targetLabel);
824 if (opLambda != null) {
825 opLambda.callback(builder);
826 }
827 }
828
829 public void setTargetLabel_NotEqual(String targetLabel) {
830 setTargetLabel_NotTerm(targetLabel, null);
831 }
832
833 public void setTargetLabel_NotTerm(String targetLabel) {
834 setTargetLabel_NotTerm(targetLabel, null);
835 }
836
837 public void setTargetLabel_NotEqual(String targetLabel, ConditionOptionCall<BoolQueryBuilder> opLambda) {
838 setTargetLabel_NotTerm(targetLabel, opLambda);
839 }
840
841 public void setTargetLabel_NotTerm(String targetLabel, ConditionOptionCall<BoolQueryBuilder> opLambda) {
842 not(not -> not.setTargetLabel_Term(targetLabel), opLambda);
843 }
844
845 public void setTargetLabel_Terms(Collection<String> targetLabelList) {
846 setTargetLabel_Terms(targetLabelList, null);
847 }
848
849 public void setTargetLabel_Terms(Collection<String> targetLabelList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
850 TermsQueryBuilder builder = regTermsQ("targetLabel", targetLabelList);
851 if (opLambda != null) {
852 opLambda.callback(builder);
853 }
854 }
855
856 public void setTargetLabel_InScope(Collection<String> targetLabelList) {
857 setTargetLabel_Terms(targetLabelList, null);
858 }
859
860 public void setTargetLabel_InScope(Collection<String> targetLabelList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
861 setTargetLabel_Terms(targetLabelList, opLambda);
862 }
863
864 public void setTargetLabel_Match(String targetLabel) {
865 setTargetLabel_Match(targetLabel, null);
866 }
867
868 public void setTargetLabel_Match(String targetLabel, ConditionOptionCall<MatchQueryBuilder> opLambda) {
869 MatchQueryBuilder builder = regMatchQ("targetLabel", targetLabel);
870 if (opLambda != null) {
871 opLambda.callback(builder);
872 }
873 }
874
875 public void setTargetLabel_MatchPhrase(String targetLabel) {
876 setTargetLabel_MatchPhrase(targetLabel, null);
877 }
878
879 public void setTargetLabel_MatchPhrase(String targetLabel, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
880 MatchPhraseQueryBuilder builder = regMatchPhraseQ("targetLabel", targetLabel);
881 if (opLambda != null) {
882 opLambda.callback(builder);
883 }
884 }
885
886 public void setTargetLabel_MatchPhrasePrefix(String targetLabel) {
887 setTargetLabel_MatchPhrasePrefix(targetLabel, null);
888 }
889
890 public void setTargetLabel_MatchPhrasePrefix(String targetLabel, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
891 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("targetLabel", targetLabel);
892 if (opLambda != null) {
893 opLambda.callback(builder);
894 }
895 }
896
897 public void setTargetLabel_Fuzzy(String targetLabel) {
898 setTargetLabel_Fuzzy(targetLabel, null);
899 }
900
901 public void setTargetLabel_Fuzzy(String targetLabel, ConditionOptionCall<MatchQueryBuilder> opLambda) {
902 MatchQueryBuilder builder = regFuzzyQ("targetLabel", targetLabel);
903 if (opLambda != null) {
904 opLambda.callback(builder);
905 }
906 }
907
908 public void setTargetLabel_Prefix(String targetLabel) {
909 setTargetLabel_Prefix(targetLabel, null);
910 }
911
912 public void setTargetLabel_Prefix(String targetLabel, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
913 PrefixQueryBuilder builder = regPrefixQ("targetLabel", targetLabel);
914 if (opLambda != null) {
915 opLambda.callback(builder);
916 }
917 }
918
919 public void setTargetLabel_Wildcard(String targetLabel) {
920 setTargetLabel_Wildcard(targetLabel, null);
921 }
922
923 public void setTargetLabel_Wildcard(String targetLabel, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
924 WildcardQueryBuilder builder = regWildcardQ("targetLabel", targetLabel);
925 if (opLambda != null) {
926 opLambda.callback(builder);
927 }
928 }
929
930 public void setTargetLabel_Regexp(String targetLabel) {
931 setTargetLabel_Regexp(targetLabel, null);
932 }
933
934 public void setTargetLabel_Regexp(String targetLabel, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
935 RegexpQueryBuilder builder = regRegexpQ("targetLabel", targetLabel);
936 if (opLambda != null) {
937 opLambda.callback(builder);
938 }
939 }
940
941 public void setTargetLabel_SpanTerm(String targetLabel) {
942 setTargetLabel_SpanTerm("targetLabel", null);
943 }
944
945 public void setTargetLabel_SpanTerm(String targetLabel, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
946 SpanTermQueryBuilder builder = regSpanTermQ("targetLabel", targetLabel);
947 if (opLambda != null) {
948 opLambda.callback(builder);
949 }
950 }
951
952 public void setTargetLabel_GreaterThan(String targetLabel) {
953 setTargetLabel_GreaterThan(targetLabel, null);
954 }
955
956 public void setTargetLabel_GreaterThan(String targetLabel, ConditionOptionCall<RangeQueryBuilder> opLambda) {
957 final Object _value = targetLabel;
958 RangeQueryBuilder builder = regRangeQ("targetLabel", ConditionKey.CK_GREATER_THAN, _value);
959 if (opLambda != null) {
960 opLambda.callback(builder);
961 }
962 }
963
964 public void setTargetLabel_LessThan(String targetLabel) {
965 setTargetLabel_LessThan(targetLabel, null);
966 }
967
968 public void setTargetLabel_LessThan(String targetLabel, ConditionOptionCall<RangeQueryBuilder> opLambda) {
969 final Object _value = targetLabel;
970 RangeQueryBuilder builder = regRangeQ("targetLabel", ConditionKey.CK_LESS_THAN, _value);
971 if (opLambda != null) {
972 opLambda.callback(builder);
973 }
974 }
975
976 public void setTargetLabel_GreaterEqual(String targetLabel) {
977 setTargetLabel_GreaterEqual(targetLabel, null);
978 }
979
980 public void setTargetLabel_GreaterEqual(String targetLabel, ConditionOptionCall<RangeQueryBuilder> opLambda) {
981 final Object _value = targetLabel;
982 RangeQueryBuilder builder = regRangeQ("targetLabel", ConditionKey.CK_GREATER_EQUAL, _value);
983 if (opLambda != null) {
984 opLambda.callback(builder);
985 }
986 }
987
988 public void setTargetLabel_LessEqual(String targetLabel) {
989 setTargetLabel_LessEqual(targetLabel, null);
990 }
991
992 public void setTargetLabel_LessEqual(String targetLabel, ConditionOptionCall<RangeQueryBuilder> opLambda) {
993 final Object _value = targetLabel;
994 RangeQueryBuilder builder = regRangeQ("targetLabel", ConditionKey.CK_LESS_EQUAL, _value);
995 if (opLambda != null) {
996 opLambda.callback(builder);
997 }
998 }
999
1000 public void setTargetLabel_Exists() {
1001 setTargetLabel_Exists(null);
1002 }
1003
1004 public void setTargetLabel_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
1005 ExistsQueryBuilder builder = regExistsQ("targetLabel");
1006 if (opLambda != null) {
1007 opLambda.callback(builder);
1008 }
1009 }
1010
1011 public void setTargetLabel_CommonTerms(String targetLabel) {
1012 setTargetLabel_CommonTerms(targetLabel, null);
1013 }
1014
1015 public void setTargetLabel_CommonTerms(String targetLabel, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
1016 CommonTermsQueryBuilder builder = regCommonTermsQ("targetLabel", targetLabel);
1017 if (opLambda != null) {
1018 opLambda.callback(builder);
1019 }
1020 }
1021
1022 public BsBadWordCQ addOrderBy_TargetLabel_Asc() {
1023 regOBA("targetLabel");
1024 return this;
1025 }
1026
1027 public BsBadWordCQ addOrderBy_TargetLabel_Desc() {
1028 regOBD("targetLabel");
1029 return this;
1030 }
1031
1032 public void setTargetRole_Equal(String targetRole) {
1033 setTargetRole_Term(targetRole, null);
1034 }
1035
1036 public void setTargetRole_Equal(String targetRole, ConditionOptionCall<TermQueryBuilder> opLambda) {
1037 setTargetRole_Term(targetRole, opLambda);
1038 }
1039
1040 public void setTargetRole_Term(String targetRole) {
1041 setTargetRole_Term(targetRole, null);
1042 }
1043
1044 public void setTargetRole_Term(String targetRole, ConditionOptionCall<TermQueryBuilder> opLambda) {
1045 TermQueryBuilder builder = regTermQ("targetRole", targetRole);
1046 if (opLambda != null) {
1047 opLambda.callback(builder);
1048 }
1049 }
1050
1051 public void setTargetRole_NotEqual(String targetRole) {
1052 setTargetRole_NotTerm(targetRole, null);
1053 }
1054
1055 public void setTargetRole_NotTerm(String targetRole) {
1056 setTargetRole_NotTerm(targetRole, null);
1057 }
1058
1059 public void setTargetRole_NotEqual(String targetRole, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1060 setTargetRole_NotTerm(targetRole, opLambda);
1061 }
1062
1063 public void setTargetRole_NotTerm(String targetRole, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1064 not(not -> not.setTargetRole_Term(targetRole), opLambda);
1065 }
1066
1067 public void setTargetRole_Terms(Collection<String> targetRoleList) {
1068 setTargetRole_Terms(targetRoleList, null);
1069 }
1070
1071 public void setTargetRole_Terms(Collection<String> targetRoleList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1072 TermsQueryBuilder builder = regTermsQ("targetRole", targetRoleList);
1073 if (opLambda != null) {
1074 opLambda.callback(builder);
1075 }
1076 }
1077
1078 public void setTargetRole_InScope(Collection<String> targetRoleList) {
1079 setTargetRole_Terms(targetRoleList, null);
1080 }
1081
1082 public void setTargetRole_InScope(Collection<String> targetRoleList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1083 setTargetRole_Terms(targetRoleList, opLambda);
1084 }
1085
1086 public void setTargetRole_Match(String targetRole) {
1087 setTargetRole_Match(targetRole, null);
1088 }
1089
1090 public void setTargetRole_Match(String targetRole, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1091 MatchQueryBuilder builder = regMatchQ("targetRole", targetRole);
1092 if (opLambda != null) {
1093 opLambda.callback(builder);
1094 }
1095 }
1096
1097 public void setTargetRole_MatchPhrase(String targetRole) {
1098 setTargetRole_MatchPhrase(targetRole, null);
1099 }
1100
1101 public void setTargetRole_MatchPhrase(String targetRole, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
1102 MatchPhraseQueryBuilder builder = regMatchPhraseQ("targetRole", targetRole);
1103 if (opLambda != null) {
1104 opLambda.callback(builder);
1105 }
1106 }
1107
1108 public void setTargetRole_MatchPhrasePrefix(String targetRole) {
1109 setTargetRole_MatchPhrasePrefix(targetRole, null);
1110 }
1111
1112 public void setTargetRole_MatchPhrasePrefix(String targetRole, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
1113 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("targetRole", targetRole);
1114 if (opLambda != null) {
1115 opLambda.callback(builder);
1116 }
1117 }
1118
1119 public void setTargetRole_Fuzzy(String targetRole) {
1120 setTargetRole_Fuzzy(targetRole, null);
1121 }
1122
1123 public void setTargetRole_Fuzzy(String targetRole, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1124 MatchQueryBuilder builder = regFuzzyQ("targetRole", targetRole);
1125 if (opLambda != null) {
1126 opLambda.callback(builder);
1127 }
1128 }
1129
1130 public void setTargetRole_Prefix(String targetRole) {
1131 setTargetRole_Prefix(targetRole, null);
1132 }
1133
1134 public void setTargetRole_Prefix(String targetRole, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
1135 PrefixQueryBuilder builder = regPrefixQ("targetRole", targetRole);
1136 if (opLambda != null) {
1137 opLambda.callback(builder);
1138 }
1139 }
1140
1141 public void setTargetRole_Wildcard(String targetRole) {
1142 setTargetRole_Wildcard(targetRole, null);
1143 }
1144
1145 public void setTargetRole_Wildcard(String targetRole, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
1146 WildcardQueryBuilder builder = regWildcardQ("targetRole", targetRole);
1147 if (opLambda != null) {
1148 opLambda.callback(builder);
1149 }
1150 }
1151
1152 public void setTargetRole_Regexp(String targetRole) {
1153 setTargetRole_Regexp(targetRole, null);
1154 }
1155
1156 public void setTargetRole_Regexp(String targetRole, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
1157 RegexpQueryBuilder builder = regRegexpQ("targetRole", targetRole);
1158 if (opLambda != null) {
1159 opLambda.callback(builder);
1160 }
1161 }
1162
1163 public void setTargetRole_SpanTerm(String targetRole) {
1164 setTargetRole_SpanTerm("targetRole", null);
1165 }
1166
1167 public void setTargetRole_SpanTerm(String targetRole, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
1168 SpanTermQueryBuilder builder = regSpanTermQ("targetRole", targetRole);
1169 if (opLambda != null) {
1170 opLambda.callback(builder);
1171 }
1172 }
1173
1174 public void setTargetRole_GreaterThan(String targetRole) {
1175 setTargetRole_GreaterThan(targetRole, null);
1176 }
1177
1178 public void setTargetRole_GreaterThan(String targetRole, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1179 final Object _value = targetRole;
1180 RangeQueryBuilder builder = regRangeQ("targetRole", ConditionKey.CK_GREATER_THAN, _value);
1181 if (opLambda != null) {
1182 opLambda.callback(builder);
1183 }
1184 }
1185
1186 public void setTargetRole_LessThan(String targetRole) {
1187 setTargetRole_LessThan(targetRole, null);
1188 }
1189
1190 public void setTargetRole_LessThan(String targetRole, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1191 final Object _value = targetRole;
1192 RangeQueryBuilder builder = regRangeQ("targetRole", ConditionKey.CK_LESS_THAN, _value);
1193 if (opLambda != null) {
1194 opLambda.callback(builder);
1195 }
1196 }
1197
1198 public void setTargetRole_GreaterEqual(String targetRole) {
1199 setTargetRole_GreaterEqual(targetRole, null);
1200 }
1201
1202 public void setTargetRole_GreaterEqual(String targetRole, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1203 final Object _value = targetRole;
1204 RangeQueryBuilder builder = regRangeQ("targetRole", ConditionKey.CK_GREATER_EQUAL, _value);
1205 if (opLambda != null) {
1206 opLambda.callback(builder);
1207 }
1208 }
1209
1210 public void setTargetRole_LessEqual(String targetRole) {
1211 setTargetRole_LessEqual(targetRole, null);
1212 }
1213
1214 public void setTargetRole_LessEqual(String targetRole, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1215 final Object _value = targetRole;
1216 RangeQueryBuilder builder = regRangeQ("targetRole", ConditionKey.CK_LESS_EQUAL, _value);
1217 if (opLambda != null) {
1218 opLambda.callback(builder);
1219 }
1220 }
1221
1222 public void setTargetRole_Exists() {
1223 setTargetRole_Exists(null);
1224 }
1225
1226 public void setTargetRole_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
1227 ExistsQueryBuilder builder = regExistsQ("targetRole");
1228 if (opLambda != null) {
1229 opLambda.callback(builder);
1230 }
1231 }
1232
1233 public void setTargetRole_CommonTerms(String targetRole) {
1234 setTargetRole_CommonTerms(targetRole, null);
1235 }
1236
1237 public void setTargetRole_CommonTerms(String targetRole, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
1238 CommonTermsQueryBuilder builder = regCommonTermsQ("targetRole", targetRole);
1239 if (opLambda != null) {
1240 opLambda.callback(builder);
1241 }
1242 }
1243
1244 public BsBadWordCQ addOrderBy_TargetRole_Asc() {
1245 regOBA("targetRole");
1246 return this;
1247 }
1248
1249 public BsBadWordCQ addOrderBy_TargetRole_Desc() {
1250 regOBD("targetRole");
1251 return this;
1252 }
1253
1254 public void setUpdatedBy_Equal(String updatedBy) {
1255 setUpdatedBy_Term(updatedBy, null);
1256 }
1257
1258 public void setUpdatedBy_Equal(String updatedBy, ConditionOptionCall<TermQueryBuilder> opLambda) {
1259 setUpdatedBy_Term(updatedBy, opLambda);
1260 }
1261
1262 public void setUpdatedBy_Term(String updatedBy) {
1263 setUpdatedBy_Term(updatedBy, null);
1264 }
1265
1266 public void setUpdatedBy_Term(String updatedBy, ConditionOptionCall<TermQueryBuilder> opLambda) {
1267 TermQueryBuilder builder = regTermQ("updatedBy", updatedBy);
1268 if (opLambda != null) {
1269 opLambda.callback(builder);
1270 }
1271 }
1272
1273 public void setUpdatedBy_NotEqual(String updatedBy) {
1274 setUpdatedBy_NotTerm(updatedBy, null);
1275 }
1276
1277 public void setUpdatedBy_NotTerm(String updatedBy) {
1278 setUpdatedBy_NotTerm(updatedBy, null);
1279 }
1280
1281 public void setUpdatedBy_NotEqual(String updatedBy, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1282 setUpdatedBy_NotTerm(updatedBy, opLambda);
1283 }
1284
1285 public void setUpdatedBy_NotTerm(String updatedBy, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1286 not(not -> not.setUpdatedBy_Term(updatedBy), opLambda);
1287 }
1288
1289 public void setUpdatedBy_Terms(Collection<String> updatedByList) {
1290 setUpdatedBy_Terms(updatedByList, null);
1291 }
1292
1293 public void setUpdatedBy_Terms(Collection<String> updatedByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1294 TermsQueryBuilder builder = regTermsQ("updatedBy", updatedByList);
1295 if (opLambda != null) {
1296 opLambda.callback(builder);
1297 }
1298 }
1299
1300 public void setUpdatedBy_InScope(Collection<String> updatedByList) {
1301 setUpdatedBy_Terms(updatedByList, null);
1302 }
1303
1304 public void setUpdatedBy_InScope(Collection<String> updatedByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1305 setUpdatedBy_Terms(updatedByList, opLambda);
1306 }
1307
1308 public void setUpdatedBy_Match(String updatedBy) {
1309 setUpdatedBy_Match(updatedBy, null);
1310 }
1311
1312 public void setUpdatedBy_Match(String updatedBy, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1313 MatchQueryBuilder builder = regMatchQ("updatedBy", updatedBy);
1314 if (opLambda != null) {
1315 opLambda.callback(builder);
1316 }
1317 }
1318
1319 public void setUpdatedBy_MatchPhrase(String updatedBy) {
1320 setUpdatedBy_MatchPhrase(updatedBy, null);
1321 }
1322
1323 public void setUpdatedBy_MatchPhrase(String updatedBy, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
1324 MatchPhraseQueryBuilder builder = regMatchPhraseQ("updatedBy", updatedBy);
1325 if (opLambda != null) {
1326 opLambda.callback(builder);
1327 }
1328 }
1329
1330 public void setUpdatedBy_MatchPhrasePrefix(String updatedBy) {
1331 setUpdatedBy_MatchPhrasePrefix(updatedBy, null);
1332 }
1333
1334 public void setUpdatedBy_MatchPhrasePrefix(String updatedBy, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
1335 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("updatedBy", updatedBy);
1336 if (opLambda != null) {
1337 opLambda.callback(builder);
1338 }
1339 }
1340
1341 public void setUpdatedBy_Fuzzy(String updatedBy) {
1342 setUpdatedBy_Fuzzy(updatedBy, null);
1343 }
1344
1345 public void setUpdatedBy_Fuzzy(String updatedBy, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1346 MatchQueryBuilder builder = regFuzzyQ("updatedBy", updatedBy);
1347 if (opLambda != null) {
1348 opLambda.callback(builder);
1349 }
1350 }
1351
1352 public void setUpdatedBy_Prefix(String updatedBy) {
1353 setUpdatedBy_Prefix(updatedBy, null);
1354 }
1355
1356 public void setUpdatedBy_Prefix(String updatedBy, ConditionOptionCall<PrefixQueryBuilder> opLambda) {
1357 PrefixQueryBuilder builder = regPrefixQ("updatedBy", updatedBy);
1358 if (opLambda != null) {
1359 opLambda.callback(builder);
1360 }
1361 }
1362
1363 public void setUpdatedBy_Wildcard(String updatedBy) {
1364 setUpdatedBy_Wildcard(updatedBy, null);
1365 }
1366
1367 public void setUpdatedBy_Wildcard(String updatedBy, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
1368 WildcardQueryBuilder builder = regWildcardQ("updatedBy", updatedBy);
1369 if (opLambda != null) {
1370 opLambda.callback(builder);
1371 }
1372 }
1373
1374 public void setUpdatedBy_Regexp(String updatedBy) {
1375 setUpdatedBy_Regexp(updatedBy, null);
1376 }
1377
1378 public void setUpdatedBy_Regexp(String updatedBy, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
1379 RegexpQueryBuilder builder = regRegexpQ("updatedBy", updatedBy);
1380 if (opLambda != null) {
1381 opLambda.callback(builder);
1382 }
1383 }
1384
1385 public void setUpdatedBy_SpanTerm(String updatedBy) {
1386 setUpdatedBy_SpanTerm("updatedBy", null);
1387 }
1388
1389 public void setUpdatedBy_SpanTerm(String updatedBy, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
1390 SpanTermQueryBuilder builder = regSpanTermQ("updatedBy", updatedBy);
1391 if (opLambda != null) {
1392 opLambda.callback(builder);
1393 }
1394 }
1395
1396 public void setUpdatedBy_GreaterThan(String updatedBy) {
1397 setUpdatedBy_GreaterThan(updatedBy, null);
1398 }
1399
1400 public void setUpdatedBy_GreaterThan(String updatedBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1401 final Object _value = updatedBy;
1402 RangeQueryBuilder builder = regRangeQ("updatedBy", ConditionKey.CK_GREATER_THAN, _value);
1403 if (opLambda != null) {
1404 opLambda.callback(builder);
1405 }
1406 }
1407
1408 public void setUpdatedBy_LessThan(String updatedBy) {
1409 setUpdatedBy_LessThan(updatedBy, null);
1410 }
1411
1412 public void setUpdatedBy_LessThan(String updatedBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1413 final Object _value = updatedBy;
1414 RangeQueryBuilder builder = regRangeQ("updatedBy", ConditionKey.CK_LESS_THAN, _value);
1415 if (opLambda != null) {
1416 opLambda.callback(builder);
1417 }
1418 }
1419
1420 public void setUpdatedBy_GreaterEqual(String updatedBy) {
1421 setUpdatedBy_GreaterEqual(updatedBy, null);
1422 }
1423
1424 public void setUpdatedBy_GreaterEqual(String updatedBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1425 final Object _value = updatedBy;
1426 RangeQueryBuilder builder = regRangeQ("updatedBy", ConditionKey.CK_GREATER_EQUAL, _value);
1427 if (opLambda != null) {
1428 opLambda.callback(builder);
1429 }
1430 }
1431
1432 public void setUpdatedBy_LessEqual(String updatedBy) {
1433 setUpdatedBy_LessEqual(updatedBy, null);
1434 }
1435
1436 public void setUpdatedBy_LessEqual(String updatedBy, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1437 final Object _value = updatedBy;
1438 RangeQueryBuilder builder = regRangeQ("updatedBy", ConditionKey.CK_LESS_EQUAL, _value);
1439 if (opLambda != null) {
1440 opLambda.callback(builder);
1441 }
1442 }
1443
1444 public void setUpdatedBy_Exists() {
1445 setUpdatedBy_Exists(null);
1446 }
1447
1448 public void setUpdatedBy_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
1449 ExistsQueryBuilder builder = regExistsQ("updatedBy");
1450 if (opLambda != null) {
1451 opLambda.callback(builder);
1452 }
1453 }
1454
1455 public void setUpdatedBy_CommonTerms(String updatedBy) {
1456 setUpdatedBy_CommonTerms(updatedBy, null);
1457 }
1458
1459 public void setUpdatedBy_CommonTerms(String updatedBy, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
1460 CommonTermsQueryBuilder builder = regCommonTermsQ("updatedBy", updatedBy);
1461 if (opLambda != null) {
1462 opLambda.callback(builder);
1463 }
1464 }
1465
1466 public BsBadWordCQ addOrderBy_UpdatedBy_Asc() {
1467 regOBA("updatedBy");
1468 return this;
1469 }
1470
1471 public BsBadWordCQ addOrderBy_UpdatedBy_Desc() {
1472 regOBD("updatedBy");
1473 return this;
1474 }
1475
1476 public void setUpdatedTime_Equal(Long updatedTime) {
1477 setUpdatedTime_Term(updatedTime, null);
1478 }
1479
1480 public void setUpdatedTime_Equal(Long updatedTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
1481 setUpdatedTime_Term(updatedTime, opLambda);
1482 }
1483
1484 public void setUpdatedTime_Term(Long updatedTime) {
1485 setUpdatedTime_Term(updatedTime, null);
1486 }
1487
1488 public void setUpdatedTime_Term(Long updatedTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
1489 TermQueryBuilder builder = regTermQ("updatedTime", updatedTime);
1490 if (opLambda != null) {
1491 opLambda.callback(builder);
1492 }
1493 }
1494
1495 public void setUpdatedTime_NotEqual(Long updatedTime) {
1496 setUpdatedTime_NotTerm(updatedTime, null);
1497 }
1498
1499 public void setUpdatedTime_NotTerm(Long updatedTime) {
1500 setUpdatedTime_NotTerm(updatedTime, null);
1501 }
1502
1503 public void setUpdatedTime_NotEqual(Long updatedTime, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1504 setUpdatedTime_NotTerm(updatedTime, opLambda);
1505 }
1506
1507 public void setUpdatedTime_NotTerm(Long updatedTime, ConditionOptionCall<BoolQueryBuilder> opLambda) {
1508 not(not -> not.setUpdatedTime_Term(updatedTime), opLambda);
1509 }
1510
1511 public void setUpdatedTime_Terms(Collection<Long> updatedTimeList) {
1512 setUpdatedTime_Terms(updatedTimeList, null);
1513 }
1514
1515 public void setUpdatedTime_Terms(Collection<Long> updatedTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1516 TermsQueryBuilder builder = regTermsQ("updatedTime", updatedTimeList);
1517 if (opLambda != null) {
1518 opLambda.callback(builder);
1519 }
1520 }
1521
1522 public void setUpdatedTime_InScope(Collection<Long> updatedTimeList) {
1523 setUpdatedTime_Terms(updatedTimeList, null);
1524 }
1525
1526 public void setUpdatedTime_InScope(Collection<Long> updatedTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
1527 setUpdatedTime_Terms(updatedTimeList, opLambda);
1528 }
1529
1530 public void setUpdatedTime_Match(Long updatedTime) {
1531 setUpdatedTime_Match(updatedTime, null);
1532 }
1533
1534 public void setUpdatedTime_Match(Long updatedTime, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1535 MatchQueryBuilder builder = regMatchQ("updatedTime", updatedTime);
1536 if (opLambda != null) {
1537 opLambda.callback(builder);
1538 }
1539 }
1540
1541 public void setUpdatedTime_MatchPhrase(Long updatedTime) {
1542 setUpdatedTime_MatchPhrase(updatedTime, null);
1543 }
1544
1545 public void setUpdatedTime_MatchPhrase(Long updatedTime, ConditionOptionCall<MatchPhraseQueryBuilder> opLambda) {
1546 MatchPhraseQueryBuilder builder = regMatchPhraseQ("updatedTime", updatedTime);
1547 if (opLambda != null) {
1548 opLambda.callback(builder);
1549 }
1550 }
1551
1552 public void setUpdatedTime_MatchPhrasePrefix(Long updatedTime) {
1553 setUpdatedTime_MatchPhrasePrefix(updatedTime, null);
1554 }
1555
1556 public void setUpdatedTime_MatchPhrasePrefix(Long updatedTime, ConditionOptionCall<MatchPhrasePrefixQueryBuilder> opLambda) {
1557 MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("updatedTime", updatedTime);
1558 if (opLambda != null) {
1559 opLambda.callback(builder);
1560 }
1561 }
1562
1563 public void setUpdatedTime_Fuzzy(Long updatedTime) {
1564 setUpdatedTime_Fuzzy(updatedTime, null);
1565 }
1566
1567 public void setUpdatedTime_Fuzzy(Long updatedTime, ConditionOptionCall<MatchQueryBuilder> opLambda) {
1568 MatchQueryBuilder builder = regFuzzyQ("updatedTime", updatedTime);
1569 if (opLambda != null) {
1570 opLambda.callback(builder);
1571 }
1572 }
1573
1574 public void setUpdatedTime_GreaterThan(Long updatedTime) {
1575 setUpdatedTime_GreaterThan(updatedTime, null);
1576 }
1577
1578 public void setUpdatedTime_GreaterThan(Long updatedTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1579 final Object _value = updatedTime;
1580 RangeQueryBuilder builder = regRangeQ("updatedTime", ConditionKey.CK_GREATER_THAN, _value);
1581 if (opLambda != null) {
1582 opLambda.callback(builder);
1583 }
1584 }
1585
1586 public void setUpdatedTime_LessThan(Long updatedTime) {
1587 setUpdatedTime_LessThan(updatedTime, null);
1588 }
1589
1590 public void setUpdatedTime_LessThan(Long updatedTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1591 final Object _value = updatedTime;
1592 RangeQueryBuilder builder = regRangeQ("updatedTime", ConditionKey.CK_LESS_THAN, _value);
1593 if (opLambda != null) {
1594 opLambda.callback(builder);
1595 }
1596 }
1597
1598 public void setUpdatedTime_GreaterEqual(Long updatedTime) {
1599 setUpdatedTime_GreaterEqual(updatedTime, null);
1600 }
1601
1602 public void setUpdatedTime_GreaterEqual(Long updatedTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1603 final Object _value = updatedTime;
1604 RangeQueryBuilder builder = regRangeQ("updatedTime", ConditionKey.CK_GREATER_EQUAL, _value);
1605 if (opLambda != null) {
1606 opLambda.callback(builder);
1607 }
1608 }
1609
1610 public void setUpdatedTime_LessEqual(Long updatedTime) {
1611 setUpdatedTime_LessEqual(updatedTime, null);
1612 }
1613
1614 public void setUpdatedTime_LessEqual(Long updatedTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
1615 final Object _value = updatedTime;
1616 RangeQueryBuilder builder = regRangeQ("updatedTime", ConditionKey.CK_LESS_EQUAL, _value);
1617 if (opLambda != null) {
1618 opLambda.callback(builder);
1619 }
1620 }
1621
1622 public void setUpdatedTime_Exists() {
1623 setUpdatedTime_Exists(null);
1624 }
1625
1626 public void setUpdatedTime_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
1627 ExistsQueryBuilder builder = regExistsQ("updatedTime");
1628 if (opLambda != null) {
1629 opLambda.callback(builder);
1630 }
1631 }
1632
1633 public void setUpdatedTime_CommonTerms(Long updatedTime) {
1634 setUpdatedTime_CommonTerms(updatedTime, null);
1635 }
1636
1637 public void setUpdatedTime_CommonTerms(Long updatedTime, ConditionOptionCall<CommonTermsQueryBuilder> opLambda) {
1638 CommonTermsQueryBuilder builder = regCommonTermsQ("updatedTime", updatedTime);
1639 if (opLambda != null) {
1640 opLambda.callback(builder);
1641 }
1642 }
1643
1644 public BsBadWordCQ addOrderBy_UpdatedTime_Asc() {
1645 regOBA("updatedTime");
1646 return this;
1647 }
1648
1649 public BsBadWordCQ addOrderBy_UpdatedTime_Desc() {
1650 regOBD("updatedTime");
1651 return this;
1652 }
1653
1654 }