File tree 1 file changed +8
-0
lines changed
src/main/java/org/springframework/data/keyvalue/repository/support
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 18
18
import static org .springframework .data .keyvalue .repository .support .KeyValueQuerydslUtils .*;
19
19
20
20
import java .util .Optional ;
21
+ import java .util .function .Function ;
21
22
22
23
import org .springframework .dao .IncorrectResultSizeDataAccessException ;
23
24
import org .springframework .data .domain .Page ;
30
31
import org .springframework .data .querydsl .QuerydslPredicateExecutor ;
31
32
import org .springframework .data .querydsl .SimpleEntityPathResolver ;
32
33
import org .springframework .data .repository .core .EntityInformation ;
34
+ import org .springframework .data .repository .query .FluentQuery ;
33
35
import org .springframework .lang .Nullable ;
34
36
import org .springframework .util .Assert ;
35
37
import org .springframework .util .ObjectUtils ;
@@ -214,6 +216,12 @@ public boolean exists(Predicate predicate) {
214
216
return count (predicate ) > 0 ;
215
217
}
216
218
219
+ @ Override
220
+ public <S extends T , R > R findBy (Predicate predicate ,
221
+ Function <FluentQuery .FetchableFluentQuery <S >, R > queryFunction ) {
222
+ throw new UnsupportedOperationException ("Not yet supported" );
223
+ }
224
+
217
225
/**
218
226
* Creates executable query for given {@link Predicate}.
219
227
*
You can’t perform that action at this time.
0 commit comments