Closed GoogleCodeExporter closed 9 years ago
Original comment by sergey.s...@gmail.com
on 17 Mar 2011 at 9:17
This behaviour is expected. Object[] {null} is a single-object array, which is
treated as Object[] {minimalValue} in this context. In order to specify
unbounded scope, you should pass null value for an array:
cursor = table.scope("record_idx", new Object[] {5}, null);
This will produce desired result. See also new test in trunk
(ScopeWithNullBoundTest) which demonstrates how scopes are processed in case on
of the bounds is null. When both bounds are null, scope is all-inclusive.
Original comment by kit...@gmail.com
on 22 Mar 2011 at 5:07
Original issue reported on code.google.com by
cdemarc...@gmail.com
on 16 Mar 2011 at 9:58