When you apply a NodeAttributeRangeFilter with a given range that doesn't match any node (or edge, in the case of an EdgeAttributeRangeFilter), a GraphView which is equal to the original main graph is returned.
Here's an example code, suppose that all the nodes have the attributeColumn in the range [0, +inf[ (i.e. strictly positive):
AttributeRangeFilter filter = new
Query query = filterController.createQuery(filter);
// this shouldn't match any nodes
filter.setRange(new Range(-10, -5));
Imported from Launchpad using lp2gh.
I have attached a JUnit Test class in which NodeAttributeRangeFilter fails several tests.