summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/spi
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-08-04 18:27:54 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-08-04 18:27:54 +0000
commitea1374c003ecc195295dfc42cc68a02f0d47e8af (patch)
treef0ee2f12414fe30e468d9d7a8c4356931ea58b79 /src/main/java/com/amazon/carbonado/spi
parenta511a68520d9c3193096645714fde550931ee746 (diff)
Added convenience method, Query.exists()
Diffstat (limited to 'src/main/java/com/amazon/carbonado/spi')
-rw-r--r--src/main/java/com/amazon/carbonado/spi/WrappedQuery.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/spi/WrappedQuery.java b/src/main/java/com/amazon/carbonado/spi/WrappedQuery.java
index ba3c013..bee05f0 100644
--- a/src/main/java/com/amazon/carbonado/spi/WrappedQuery.java
+++ b/src/main/java/com/amazon/carbonado/spi/WrappedQuery.java
@@ -167,6 +167,10 @@ public abstract class WrappedQuery<S extends Storable> implements Query<S> {
return mQuery.count();
}
+ public boolean exists() throws FetchException {
+ return mQuery.exists();
+ }
+
public boolean printNative() {
return mQuery.printNative();
}