IndexBound upperRight = new IndexBound(row(beforeLatLonIndexRowType, before, latHi, lonHi),
new SetColumnSelector(0, 1, 2));
IndexKeyRange box = IndexKeyRange.spatial(beforeLatLonIndexRowType, lowerLeft, upperRight);
Operator plan = indexScan_Default(beforeLatLonIndexRowType, box, lookaheadQuantum());
Cursor cursor = API.cursor(plan, queryContext, queryBindings);
cursor.openTopLevel();
Row row;
while ((row = cursor.next()) != null) {
assertSame(beforeLatLonIndexRowType.physicalRowType(), row.rowType());
int rowBefore = getLong(row, 0).intValue();
long z = getLong(row, 1);