151152153154155156157158159160161
if (filterList.size() == 1){ return filterList.get(0); } if (isNot){ return new RandomAccessAndFilter(filterList); } else{ return new RandomAccessOrFilter(filterList); } }
155156157158159160161
return EmptyFilter.getInstance(); } } if (filterList.size() == 1) return filterList.get(0); return new RandomAccessAndFilter(filterList); }
210211212213214215216
{ return EmptyFilter.getInstance(); } } if (filterList.size() == 1) return filterList.get(0); return new RandomAccessAndFilter(filterList); }
979899100101102103
196197198199200201202203204205206
{ filter = notFilter; } else { RandomAccessFilter andFilter = new RandomAccessAndFilter(Arrays.asList(new RandomAccessFilter[]{filter,notFilter})); filter = andFilter; } } return filter;
224225226227228229230
// there is no hit in this AND filter because this value has no hit return null; } } if (filterList.size() == 0) return null; return new RandomAccessAndFilter(filterList); }
61626364656667
SimpleFacetHandler handler = _facetHandlers.get(i); BrowseSelection sel = new BrowseSelection(handler.getName()); sel.addValue(vals[i]); filterList.add(handler.buildFilter(sel)); } return new RandomAccessAndFilter(filterList); }
117118119120121122123
return EmptyFilter.getInstance(); } if (filterList.size() == 1) { return filterList.get(0); } return new RandomAccessAndFilter(filterList); }
152153154155156157158159160161
if (filterList.size() == 1) { return filterList.get(0); } if (isNot) { return new RandomAccessAndFilter(filterList); } else { return new RandomAccessOrFilter(filterList); } }
63646566676869