startKey = command.startKey;
finishKey = command.finishKey;
}
else
{
startKey = Collections.max(Arrays.asList(command.startKey, new DecoratedKey(primaryRange.left(), null)));
finishKey = command.finishKey.isEmpty()
? new DecoratedKey(primaryRange.right(), null)
: Collections.min(Arrays.asList(command.finishKey, new DecoratedKey(primaryRange.right(), null)));
}
RangeSliceCommand c2 = new RangeSliceCommand(command.keyspace, command.column_family, command.super_column, command.predicate, startKey, finishKey, command.max_keys);