CompositeRangeBuilder range = serializer.buildRange();
if(from != null) {
if(from.isInclusive())
range = range.greaterThanEquals(from.getKey());
else
range = range.greaterThan(from.getKey());
}
if(to != null) {
if(to.isInclusive())
range = range.lessThanEquals(to.getKey());
else