QueryFactory

public final class QueryFactory

A factory of Query instances.

Uses the given ActorRequestFactory as a source of the query meta information, such as the actor.

See also

Functions

Link copied to clipboard
public Query all(Class<? extends EntityState> entityClass)
Creates a Query to read all states of a certain entity.
Link copied to clipboard
public Query allWithMask(Class<? extends EntityState> entityClass, Array<String> maskPaths)
Creates a Query to read all entity states with the FieldMask applied to each of the results.
Link copied to clipboard
public Query byIds(Class<? extends EntityState> entityClass, Set<? extends Object> ids)
Creates a Query to read certain entity states by IDs.
Link copied to clipboard
public Query byIdsWithMask(Class<? extends EntityState> entityClass, Set<? extends Object> ids, Array<String> maskPaths)
Creates a Query to read certain entity states by IDs with the FieldMask applied to each of the results.
Link copied to clipboard
public QueryBuilder select(Class<? extends EntityState> targetType)
Creates a new instance of QueryBuilder for the further Query construction.