Polishing.
Introduce default exists(…) method on KeyValueAdapter to allow for store-specific optimizations of the exists method. Lazily construct a single PartTree instance for reuse. Refine generics. See #386 Original pull request: #386.
This commit is contained in:
@@ -154,7 +154,7 @@ class KeyValuePartTreeQueryUnitTests {
|
||||
KeyValueQuery<?> query = partTreeQuery.prepareQuery(new Object[] { "firstname" });
|
||||
partTreeQuery.doExecute(new Object[] { "firstname" }, query);
|
||||
|
||||
verify(kvOpsMock).count(eq(query), eq(Person.class));
|
||||
verify(kvOpsMock).exists(eq(query), eq(Person.class));
|
||||
}
|
||||
|
||||
interface Repo {
|
||||
|
||||
Reference in New Issue
Block a user