throw new UnsupportedOperationException("not done here yet");
}
public static CompositeRangeBuilder setupRangeBuilder(Key from, Key to, Info info1) {
AnnotatedCompositeSerializer serializer = info1.getCompositeSerializer();
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
range = range.lessThan(to.getKey());
}
return range;
}