@Test public void testNotEvaluable() { CompareTupleFilter notEvaluable = compare(colB, FilterOperatorEnum.EQ, 0); assertEquals(null, eval.evaluate(notEvaluable)); LogicalTupleFilter or = logical(FilterOperatorEnum.OR, basicFilters.get(1), notEvaluable); assertEquals(null, eval.evaluate(or)); LogicalTupleFilter and = logical(FilterOperatorEnum.AND, basicFilters.get(1), notEvaluable); assertEquals(basicResults.get(1), eval.evaluate(and)); }
public ConciseSet evaluate(TupleFilter filter) { if (filter == null) return null; if (filter instanceof LogicalTupleFilter) return evalLogical((LogicalTupleFilter) filter); if (filter instanceof CompareTupleFilter) return evalCompare((CompareTupleFilter) filter); return null; }
BitMapFilterEvaluator { public ConciseSet evaluate(TupleFilter filter) { if (filter == null) return null; if (filter instanceof LogicalTupleFilter) return evalLogical((LogicalTupleFilter) filter); if (filter instanceof CompareTupleFilter) return evalCompare((CompareTupleFilter) filter); return null; } }
BitMapFilterEvaluator { public ConciseSet evaluate(TupleFilter filter) { if (filter == null) return null; if (filter instanceof LogicalTupleFilter) return evalLogical((LogicalTupleFilter) filter); if (filter instanceof CompareTupleFilter) return evalCompare((CompareTupleFilter) filter); return null; } BitMapFilterEvaluator(BitMapProvider bitMapProvider); }
BitMapFilterEvaluator { public ConciseSet evaluate(TupleFilter filter) { if (filter == null) return null; if (filter instanceof LogicalTupleFilter) return evalLogical((LogicalTupleFilter) filter); if (filter instanceof CompareTupleFilter) return evalCompare((CompareTupleFilter) filter); return null; } BitMapFilterEvaluator(BitMapProvider bitMapProvider); ConciseSet evaluate(TupleFilter filter); static void main(String[] args); }
BitMapFilterEvaluator { public ConciseSet evaluate(TupleFilter filter) { if (filter == null) return null; if (filter instanceof LogicalTupleFilter) return evalLogical((LogicalTupleFilter) filter); if (filter instanceof CompareTupleFilter) return evalCompare((CompareTupleFilter) filter); return null; } BitMapFilterEvaluator(BitMapProvider bitMapProvider); ConciseSet evaluate(TupleFilter filter); static void main(String[] args);  }