summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/qe/FilteringScore.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/FilteringScore.java b/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
index 5c26d5d..5b76a6d 100644
--- a/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
+++ b/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
@@ -28,6 +28,7 @@ import java.util.List;
import com.amazon.carbonado.Storable;
import com.amazon.carbonado.filter.AndFilter;
+import com.amazon.carbonado.filter.ExistsFilter;
import com.amazon.carbonado.filter.Filter;
import com.amazon.carbonado.filter.OrFilter;
import com.amazon.carbonado.filter.PropertyFilter;
@@ -779,6 +780,12 @@ public class FilteringScore<S extends Storable> {
return filter.getLeftFilter().accept(this, param)
&& filter.getRightFilter().accept(this, param);
}
+
+ @Override
+ public Boolean visit(ExistsFilter<S> filter, Object param) {
+ // Assume that an ExistsFilter is not going to be indexed.
+ return false;
+ }
@Override
public Boolean visit(PropertyFilter<S> filter, Object param) {