this.toExcl = query.getRangeToExcl();
// try to determinate fromInclNo and to ExclNo by the range string
if (query.getRange() != null)
{
Parser p = new Parser(query.getRange(), new Imports());
BigInteger from = p.parseIntegerLiteral();
if (from != null)
{
this.fromIncl = from.longValue();
}
p.skipWS();
if (p.parseChar(','))
{
p.skipWS();
BigInteger to = p.parseIntegerLiteral();
if (to != null)
{
this.toExcl = to.longValue();
}
}