if (compiledFilter == null || compiledFilter.getRootCondition() == null) {
if (returning.equalsIgnoreCase("COUNT")) {
// RETURNS ONLY THE COUNT
final long total = index.getSize();
index.clear();
return total;
} else {
// RETURNS ALL THE DELETED RECORDS
OIndexCursor cursor = index.cursor();
Map.Entry<Object, OIdentifiable> entry;