Skip to content

Commit

Permalink
Add method signature to enable compilation until adding fluent API su…
Browse files Browse the repository at this point in the history
…pport.

See #397
  • Loading branch information
mp911de committed Oct 8, 2021
1 parent d4333b1 commit 44ab6db
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import static org.springframework.data.keyvalue.repository.support.KeyValueQuerydslUtils.*;

import java.util.Optional;
import java.util.function.Function;

import org.springframework.dao.IncorrectResultSizeDataAccessException;
import org.springframework.data.domain.Page;
Expand All @@ -30,6 +31,7 @@
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.data.querydsl.SimpleEntityPathResolver;
import org.springframework.data.repository.core.EntityInformation;
import org.springframework.data.repository.query.FluentQuery;
import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;
Expand Down Expand Up @@ -214,6 +216,12 @@ public boolean exists(Predicate predicate) {
return count(predicate) > 0;
}

@Override
public <S extends T, R> R findBy(Predicate predicate,
Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) {
throw new UnsupportedOperationException("Not yet supported");
}

/**
* Creates executable query for given {@link Predicate}.
*
Expand Down

0 comments on commit 44ab6db

Please sign in to comment.