Adds SQL predicates matching vaadin's predicates