else if (filter instanceof LeExpression)
applyFilter(q, (LeExpression) filter, FilterOperator.LESS_THAN_OR_EQUAL);
// and filter
else if (filter instanceof AndExpression) {
AndExpression e = (AndExpression) filter;
applyFilter(q, e.getLHS());
applyFilter(q, e.getRHS());
}
else
throw new NotImplementedException("Appengine only supports simple property expressions");
}