{
// add support for reverse scan
// for ASC scan, check endExpression; for DESC scan, need to check searchkeys
List<AbstractExpression> endKeys = new ArrayList<AbstractExpression>();
// Initially assume that there will be an equality filter on all key components.
IndexLookupType endType = IndexLookupType.EQ;
List<AbstractExpression> endComparisons = ExpressionUtil.uncombine(isp.getEndExpression());
for (AbstractExpression ae: endComparisons) {
// There should be no more end expressions after an LT or LTE has reset the end type.
assert(endType == IndexLookupType.EQ);