byIdsWithMask

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.

Allows to specify a set of identifiers to be used during the Query processing. The processing results will contain only the entities, which IDs are present among the ids.

Allows to set property paths for a FieldMask applied to each of the query results. This processing is performed according to the FieldMask specs.

If the paths array contains entries inapplicable to the resulting entity (for example a path references a missing field), such invalid paths are silently ignored.

Return

an instance of Query formed according to the passed parameters

Parameters

entityClass

the class of a target entity

ids

the IDs of interest of type which is supported as identifier

maskPaths

the property paths for the FieldMask applied to each of the results