diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/StandardQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java index e2081d6..736f31f 100644 --- a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java +++ b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java @@ -340,7 +340,7 @@ public abstract class StandardQuery<S extends Storable> extends AbstractQuery<S> }
public boolean exists() throws FetchException {
- Cursor<S> cursor = fetch();
+ Cursor<S> cursor = fetchSlice(0L, 1L);
try {
return cursor.skipNext(1) > 0;
} finally {
|