* @return a {@link java.util.List} object.
*/
@SuppressWarnings("unchecked")
public <T> List<T> find(String riakQuery, Class<T> entity) {
if (entity == null) {
throw new ApitraryOrmException("Cannot access null entity");
}
log.debug("Searching " + entity.getName() + " " + riakQuery);
QueriedGetRequest request = new QueriedGetRequest();
request.setEntity(resolveApitraryEntity(entity));