76
76
import org .mybatis .dynamic .sql .where .condition .IsGreaterThanWithSubselect ;
77
77
import org .mybatis .dynamic .sql .where .condition .IsIn ;
78
78
import org .mybatis .dynamic .sql .where .condition .IsInCaseInsensitive ;
79
+ import org .mybatis .dynamic .sql .where .condition .IsInCaseInsensitiveWhenPresent ;
80
+ import org .mybatis .dynamic .sql .where .condition .IsInWhenPresent ;
79
81
import org .mybatis .dynamic .sql .where .condition .IsInWithSubselect ;
80
82
import org .mybatis .dynamic .sql .where .condition .IsLessThan ;
81
83
import org .mybatis .dynamic .sql .where .condition .IsLessThanColumn ;
91
93
import org .mybatis .dynamic .sql .where .condition .IsNotEqualToWithSubselect ;
92
94
import org .mybatis .dynamic .sql .where .condition .IsNotIn ;
93
95
import org .mybatis .dynamic .sql .where .condition .IsNotInCaseInsensitive ;
96
+ import org .mybatis .dynamic .sql .where .condition .IsNotInCaseInsensitiveWhenPresent ;
97
+ import org .mybatis .dynamic .sql .where .condition .IsNotInWhenPresent ;
94
98
import org .mybatis .dynamic .sql .where .condition .IsNotInWithSubselect ;
95
99
import org .mybatis .dynamic .sql .where .condition .IsNotLike ;
96
100
import org .mybatis .dynamic .sql .where .condition .IsNotLikeCaseInsensitive ;
@@ -764,12 +768,12 @@ static <T> IsInWithSubselect<T> isIn(Buildable<SelectModel> selectModelBuilder)
764
768
}
765
769
766
770
@ SafeVarargs
767
- static <T > IsIn <T > isInWhenPresent (T ... values ) {
768
- return IsIn .of (values ). filter ( Objects :: nonNull );
771
+ static <T > IsInWhenPresent <T > isInWhenPresent (T ... values ) {
772
+ return IsInWhenPresent .of (values );
769
773
}
770
774
771
- static <T > IsIn <T > isInWhenPresent (Collection <T > values ) {
772
- return values == null ? IsIn .empty () : IsIn .of (values ). filter ( Objects :: nonNull );
775
+ static <T > IsInWhenPresent <T > isInWhenPresent (Collection <T > values ) {
776
+ return values == null ? IsInWhenPresent .empty () : IsInWhenPresent .of (values );
773
777
}
774
778
775
779
@ SafeVarargs
@@ -786,12 +790,12 @@ static <T> IsNotInWithSubselect<T> isNotIn(Buildable<SelectModel> selectModelBui
786
790
}
787
791
788
792
@ SafeVarargs
789
- static <T > IsNotIn <T > isNotInWhenPresent (T ... values ) {
790
- return IsNotIn .of (values ). filter ( Objects :: nonNull );
793
+ static <T > IsNotInWhenPresent <T > isNotInWhenPresent (T ... values ) {
794
+ return IsNotInWhenPresent .of (values );
791
795
}
792
796
793
- static <T > IsNotIn <T > isNotInWhenPresent (Collection <T > values ) {
794
- return values == null ? IsNotIn .empty () : IsNotIn .of (values ). filter ( Objects :: nonNull );
797
+ static <T > IsNotInWhenPresent <T > isNotInWhenPresent (Collection <T > values ) {
798
+ return values == null ? IsNotInWhenPresent .empty () : IsNotInWhenPresent .of (values );
795
799
}
796
800
797
801
static <T > IsBetween .Builder <T > isBetween (T value1 ) {
@@ -909,12 +913,12 @@ static IsInCaseInsensitive isInCaseInsensitive(Collection<String> values) {
909
913
return IsInCaseInsensitive .of (values );
910
914
}
911
915
912
- static IsInCaseInsensitive isInCaseInsensitiveWhenPresent (String ... values ) {
913
- return IsInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
916
+ static IsInCaseInsensitiveWhenPresent isInCaseInsensitiveWhenPresent (String ... values ) {
917
+ return IsInCaseInsensitiveWhenPresent .of (values );
914
918
}
915
919
916
- static IsInCaseInsensitive isInCaseInsensitiveWhenPresent (Collection <String > values ) {
917
- return values == null ? IsInCaseInsensitive .empty () : IsInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
920
+ static IsInCaseInsensitiveWhenPresent isInCaseInsensitiveWhenPresent (Collection <String > values ) {
921
+ return values == null ? IsInCaseInsensitiveWhenPresent .empty () : IsInCaseInsensitiveWhenPresent .of (values );
918
922
}
919
923
920
924
static IsNotInCaseInsensitive isNotInCaseInsensitive (String ... values ) {
@@ -925,13 +929,13 @@ static IsNotInCaseInsensitive isNotInCaseInsensitive(Collection<String> values)
925
929
return IsNotInCaseInsensitive .of (values );
926
930
}
927
931
928
- static IsNotInCaseInsensitive isNotInCaseInsensitiveWhenPresent (String ... values ) {
929
- return IsNotInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
932
+ static IsNotInCaseInsensitiveWhenPresent isNotInCaseInsensitiveWhenPresent (String ... values ) {
933
+ return IsNotInCaseInsensitiveWhenPresent .of (values );
930
934
}
931
935
932
- static IsNotInCaseInsensitive isNotInCaseInsensitiveWhenPresent (Collection <String > values ) {
933
- return values == null ? IsNotInCaseInsensitive .empty () :
934
- IsNotInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
936
+ static IsNotInCaseInsensitiveWhenPresent isNotInCaseInsensitiveWhenPresent (Collection <String > values ) {
937
+ return values == null ? IsNotInCaseInsensitiveWhenPresent .empty () :
938
+ IsNotInCaseInsensitiveWhenPresent .of (values );
935
939
}
936
940
937
941
// order by support
0 commit comments