if (withArgs.hasAnIndex()) {
final byte[] upperBytes = Arrays.copyOf(lowerBytes, lowerBytes.length);
// Increment final byte because the range in index is inclusive/exclusive
upperBytes[lowerBytes.length - 1]++;
return new IndexRequest(lowerBytes, upperBytes, columnAttribs);
}
else {
// Use Get if no server filter is used
if (withArgs.getServerExpressionTree() == null) {
final Get get = new Get(lowerBytes);