From b1ba29c24f6c48c9b028bc8c4c5e9c729092f5ac Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 11 Sep 2006 01:33:12 +0000 Subject: Completed new query engine implementation. --- src/main/java/com/amazon/carbonado/spi/BaseQuery.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/com/amazon/carbonado/spi') 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 extends AbstractQuery imp public Query not() throws FetchException { FilterValues values = getFilterValues(); if (values == null) { - return new EmptyQuery(mStorage, mOrderings); + // FIXME: fix this or remove BaseQuery class. + throw new UnsupportedOperationException(); + //return new EmptyQuery(mStorage, mOrderings); } Query newQuery = mStorage.query(values.getFilter().not()); newQuery = newQuery.withValues(values.getSuppliedValues()); -- cgit v1.2.3