QueryBuilder
A builder for the Query instances.
None of the parameters set by the builder methods are required. Call build to retrieve the resulting Query instance.
Usage example:
ActorRequestFactory factory = ... ;
Query query = factory.query()
.select(Customer.class)
.byId(westCoastCustomerIds())
.withMask("name", "address", "email")
.where(eq("type", "permanent"),
eq("discountPercent", 10),
eq("companySize", Company.Size.SMALL))
.orderBy("name", ASCENDING)
.limit(20)
.build();
Content copied to clipboard
Arguments for the where method can be composed using the Filters utility class.