diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/spi')
-rw-r--r-- | src/main/java/com/amazon/carbonado/spi/BaseQuery.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/spi/BaseQuery.java b/src/main/java/com/amazon/carbonado/spi/BaseQuery.java index b1a1d45..e5fc3b0 100644 --- a/src/main/java/com/amazon/carbonado/spi/BaseQuery.java +++ b/src/main/java/com/amazon/carbonado/spi/BaseQuery.java @@ -211,7 +211,9 @@ public abstract class BaseQuery<S extends Storable> extends AbstractQuery<S> imp public Query<S> not() throws FetchException {
FilterValues<S> values = getFilterValues();
if (values == null) {
- return new EmptyQuery<S>(mStorage, mOrderings);
+ // FIXME: fix this or remove BaseQuery class.
+ throw new UnsupportedOperationException();
+ //return new EmptyQuery<S>(mStorage, mOrderings);
}
Query<S> newQuery = mStorage.query(values.getFilter().not());
newQuery = newQuery.withValues(values.getSuppliedValues());
|