diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2007-08-04 18:27:54 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2007-08-04 18:27:54 +0000 |
commit | ea1374c003ecc195295dfc42cc68a02f0d47e8af (patch) | |
tree | f0ee2f12414fe30e468d9d7a8c4356931ea58b79 /src/main/java/com/amazon/carbonado/spi | |
parent | a511a68520d9c3193096645714fde550931ee746 (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.java | 4 |
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();
}
|