Skip to content

Commit 44ab6db

Browse files
committed
Add method signature to enable compilation until adding fluent API support.
See #397
1 parent d4333b1 commit 44ab6db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/springframework/data/keyvalue/repository/support/QuerydslKeyValueRepository.java

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import static org.springframework.data.keyvalue.repository.support.KeyValueQuerydslUtils.*;
1919

2020
import java.util.Optional;
21+
import java.util.function.Function;
2122

2223
import org.springframework.dao.IncorrectResultSizeDataAccessException;
2324
import org.springframework.data.domain.Page;
@@ -30,6 +31,7 @@
3031
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
3132
import org.springframework.data.querydsl.SimpleEntityPathResolver;
3233
import org.springframework.data.repository.core.EntityInformation;
34+
import org.springframework.data.repository.query.FluentQuery;
3335
import org.springframework.lang.Nullable;
3436
import org.springframework.util.Assert;
3537
import org.springframework.util.ObjectUtils;
@@ -214,6 +216,12 @@ public boolean exists(Predicate predicate) {
214216
return count(predicate) > 0;
215217
}
216218

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+
217225
/**
218226
* Creates executable query for given {@link Predicate}.
219227
*

0 commit comments

Comments
 (0)