}
Expression rhs = node.getChildren().get(1);
KeySlots childSlots = childParts.get(0);
KeySlot childSlot = childSlots.iterator().next();
KeyPart childPart = childSlot.getKeyPart();
ColumnModifier modifier = childPart.getColumn().getColumnModifier();
CompareOp op = node.getFilterOp();
// For descending columns, the operator needs to be transformed to
// it's opposite, since the range is backwards.
if (modifier != null) {
op = modifier.transform(op);
}
KeyRange keyRange = childPart.getKeyRange(op, rhs);
return newKeyParts(childSlot, node, keyRange);
}