private IComplexQueryRequest toRequest(Filter f) {
if (f.kind == Filter.COMPLEX_FILTER) {
final ComplexFilter filter = (ComplexFilter) f.value;
final Filter[] parseValue = filter.field.parseValue(filter);
if (parseValue != null) {
return new ReificationRequest(new SimpleRequest(
filter.field.keyKind, new Query(parseValue,
new Sort("", false), limit, 0), limit),
limit) {
protected IComplexQueryRequest toQuery(Object object) {