Yes, just declare criteria/expression variables and use them normally, instead of using the fluent interface: