diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2006-09-22 06:39:05 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2006-09-22 06:39:05 +0000 |
commit | 4ce68905b7d0d418b89ecac77573a730a61527e6 (patch) | |
tree | 7b638dced8a38707b6e95dfbdc10212cedb0e644 /src | |
parent | b503b09219e7aad8bb5d067ccd9e09d248590451 (diff) |
Ordering property directions should be reversed if index is reversed.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java index cc342c6..fd3ab4f 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryExecutor.java @@ -189,6 +189,9 @@ public class IndexedQueryExecutor<S extends Storable> extends AbstractQueryExecu if (mIdentityCount > 0) {
list = OrderingList.get(list.subList(mIdentityCount, list.size()));
}
+ if (mReverseOrder) {
+ list = list.reverseDirections();
+ }
return list;
}
|