@@ -400,12 +400,12 @@ public PredicateFinalStep buildAndOrPredicates(
400
400
// we need to know if there is more than one "and" predicate (outer list) with more than one "or" predicate (inner list)
401
401
long maxOrPredicateSize = theAndOrTerms .stream ().map (List ::size ).filter (s -> s > 1 ).count ();
402
402
403
- BooleanPredicateClausesStep <?> topBool = myPredicateFactory .bool ();
403
+ BooleanPredicateClausesStep <?,? > topBool = myPredicateFactory .bool ();
404
404
topBool .must (myPredicateFactory .match ().field ("myResourceType" ).matching ("Observation" ));
405
405
406
- BooleanPredicateClausesStep <?> activeBool = topBool ;
406
+ BooleanPredicateClausesStep <?,? > activeBool = topBool ;
407
407
if (isNested ) {
408
- BooleanPredicateClausesStep <?> nestedBool = myPredicateFactory .bool ();
408
+ BooleanPredicateClausesStep <?,? > nestedBool = myPredicateFactory .bool ();
409
409
activeBool = nestedBool ;
410
410
}
411
411
@@ -454,7 +454,7 @@ private boolean isNested(String theSearchParamName) {
454
454
}
455
455
456
456
457
- private void addOnePredicate (BooleanPredicateClausesStep <?> theTopBool , boolean theIsMust ,
457
+ private void addOnePredicate (BooleanPredicateClausesStep <?,? > theTopBool , boolean theIsMust ,
458
458
String theParamName , IQueryParameterType theParameterType ) {
459
459
460
460
if (theParameterType instanceof QuantityParam ) {
@@ -466,7 +466,7 @@ private void addOnePredicate(BooleanPredicateClausesStep<?> theTopBool, boolean
466
466
}
467
467
468
468
469
- private void addQuantityOrClauses (BooleanPredicateClausesStep <?> theTopBool , boolean theIsMust ,
469
+ private void addQuantityOrClauses (BooleanPredicateClausesStep <?,? > theTopBool , boolean theIsMust ,
470
470
String theSearchParamName , IQueryParameterType theParamType ) {
471
471
472
472
String fieldPath = NESTED_SEARCH_PARAM_ROOT + "." + theSearchParamName + "." + INDEX_TYPE_QUANTITY ;
@@ -479,7 +479,7 @@ private void addQuantityOrClauses(BooleanPredicateClausesStep<?> theTopBool, boo
479
479
}
480
480
481
481
482
- private void addQuantityTerms (BooleanPredicateClausesStep <?> theTopBool , boolean theIsMust ,
482
+ private void addQuantityTerms (BooleanPredicateClausesStep <?,? > theTopBool , boolean theIsMust ,
483
483
ParamPrefixEnum theActivePrefix , QuantityParam theQtyParam , String theFieldPath ) {
484
484
485
485
String valueFieldPath = theFieldPath + "." + QTY_VALUE ;
@@ -496,12 +496,12 @@ private void addQuantityTerms(BooleanPredicateClausesStep<?> theTopBool, boolean
496
496
}
497
497
498
498
499
- private void addFieldPredicate (boolean theIsMust , BooleanPredicateClausesStep <?> theTopBool , String theFieldPath , String theValue ) {
499
+ private void addFieldPredicate (boolean theIsMust , BooleanPredicateClausesStep <?,? > theTopBool , String theFieldPath , String theValue ) {
500
500
MatchPredicateOptionsStep <?> pred = myPredicateFactory .match ().field (theFieldPath ).matching (theValue );
501
501
addMustOrShould (theIsMust , theTopBool , pred );
502
502
}
503
503
504
- private void addMustOrShould (boolean theIsMust , BooleanPredicateClausesStep <?> theTopBool , PredicateFinalStep thePredicate ) {
504
+ private void addMustOrShould (boolean theIsMust , BooleanPredicateClausesStep <?,? > theTopBool , PredicateFinalStep thePredicate ) {
505
505
if (theIsMust ) {
506
506
theTopBool .must (thePredicate );
507
507
} else {
0 commit comments