test_class.declarator: factory
test_class.modifier: private
test_class.original_string: private QueryFactory factory;
test_class.type: QueryFactory
test_class.var_name: factory
test_class.file: client/src/test/java/io/spine/client/QueryFactoryTest.java
test_class.identifier: QueryFactoryTest
test_case.body: @Test
      @DisplayName("fail to create query with mask when id list is empty")
      void failForEmptyIds() {
          assertThrows(IllegalArgumentException.class,
                       () -> factory.byIdsWithMask(TEST_ENTITY_TYPE, emptySet(), "", ""));
      }
test_case.class_method_signature: QueryFactoryTest.failForEmptyIds()
test_case.full_signature: @Test @DisplayName("fail to create query with mask when id list is empty") void failForEmptyIds()
test_case.identifier: failForEmptyIds
test_case.invocations: assertThrows byIdsWithMask emptySet
test_case.modifiers: @Test @DisplayName("fail to create query with mask when id list is empty")
test_case.parameters: ()
test_case.return: void
test_case.signature: void failForEmptyIds()
focal_class.declarator: QUERY_ID_FORMAT = "query-%s"
focal_class.modifier: private static final
focal_class.original_string: private static final String QUERY_ID_FORMAT = "query-%s";
focal_class.type: String
focal_class.var_name: QUERY_ID_FORMAT
focal_class.declarator: ENTITY_IDS_EMPTY_MSG = "Entity ID set must not be empty."
focal_class.modifier: private static final
focal_class.original_string: private static final String ENTITY_IDS_EMPTY_MSG = "Entity ID set must not be empty.";
focal_class.type: String
focal_class.var_name: ENTITY_IDS_EMPTY_MSG
focal_class.declarator: actorContext
focal_class.modifier: private final
focal_class.original_string: private final ActorContext actorContext;
focal_class.type: ActorContext
focal_class.var_name: actorContext
focal_class.file: client/src/main/java/io/spine/client/QueryFactory.java
focal_class.identifier: QueryFactory
focal_class.class_method_signature: QueryFactory.QueryFactory(ActorRequestFactory actorRequestFactory)
focal_class.full_signature:   QueryFactory(ActorRequestFactory actorRequestFactory)
focal_class.identifier: QueryFactory
focal_class.parameters: (ActorRequestFactory actorRequestFactory)
focal_class.signature:  QueryFactory(ActorRequestFactory actorRequestFactory)
focal_class.class_method_signature: QueryFactory.newQueryId()
focal_class.full_signature: private static QueryId newQueryId()
focal_class.identifier: newQueryId
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: QueryId
focal_class.signature: QueryId newQueryId()
focal_class.class_method_signature: QueryFactory.select(Class<? extends EntityState> targetType)
focal_class.full_signature: public QueryBuilder select(Class<? extends EntityState> targetType)
focal_class.identifier: select
focal_class.modifiers: public
focal_class.parameters: (Class<? extends EntityState> targetType)
focal_class.return: QueryBuilder
focal_class.signature: QueryBuilder select(Class<? extends EntityState> targetType)
focal_class.class_method_signature: QueryFactory.byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_class.full_signature: public Query byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_class.identifier: byIdsWithMask
focal_class.modifiers: public
focal_class.parameters: (Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_class.return: Query
focal_class.signature: Query byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_class.class_method_signature: QueryFactory.byIds(Class<? extends EntityState> entityClass, Set<?> ids)
focal_class.full_signature: public Query byIds(Class<? extends EntityState> entityClass, Set<?> ids)
focal_class.identifier: byIds
focal_class.modifiers: public
focal_class.parameters: (Class<? extends EntityState> entityClass, Set<?> ids)
focal_class.return: Query
focal_class.signature: Query byIds(Class<? extends EntityState> entityClass, Set<?> ids)
focal_class.class_method_signature: QueryFactory.allWithMask(Class<? extends EntityState> entityClass, String... maskPaths)
focal_class.full_signature: public Query allWithMask(Class<? extends EntityState> entityClass, String... maskPaths)
focal_class.identifier: allWithMask
focal_class.modifiers: public
focal_class.parameters: (Class<? extends EntityState> entityClass, String... maskPaths)
focal_class.return: Query
focal_class.signature: Query allWithMask(Class<? extends EntityState> entityClass, String... maskPaths)
focal_class.class_method_signature: QueryFactory.all(Class<? extends EntityState> entityClass)
focal_class.full_signature: public Query all(Class<? extends EntityState> entityClass)
focal_class.identifier: all
focal_class.modifiers: public
focal_class.parameters: (Class<? extends EntityState> entityClass)
focal_class.return: Query
focal_class.signature: Query all(Class<? extends EntityState> entityClass)
focal_class.class_method_signature: QueryFactory.composeQuery(Class<? extends EntityState> entityClass,
                                 @Nullable Set<?> ids,
                                 @Nullable Set<CompositeFilter> filters,
                                 @Nullable FieldMask fieldMask)
focal_class.full_signature: private Query composeQuery(Class<? extends EntityState> entityClass,
                                 @Nullable Set<?> ids,
                                 @Nullable Set<CompositeFilter> filters,
                                 @Nullable FieldMask fieldMask)
focal_class.identifier: composeQuery
focal_class.modifiers: private
focal_class.parameters: (Class<? extends EntityState> entityClass,
                                 @Nullable Set<?> ids,
                                 @Nullable Set<CompositeFilter> filters,
                                 @Nullable FieldMask fieldMask)
focal_class.return: Query
focal_class.signature: Query composeQuery(Class<? extends EntityState> entityClass,
                                 @Nullable Set<?> ids,
                                 @Nullable Set<CompositeFilter> filters,
                                 @Nullable FieldMask fieldMask)
focal_class.class_method_signature: QueryFactory.checkSpecified(Class<? extends EntityState> entityClass)
focal_class.full_signature: private static void checkSpecified(Class<? extends EntityState> entityClass)
focal_class.identifier: checkSpecified
focal_class.modifiers: private static
focal_class.parameters: (Class<? extends EntityState> entityClass)
focal_class.return: void
focal_class.signature: void checkSpecified(Class<? extends EntityState> entityClass)
focal_class.class_method_signature: QueryFactory.queryBuilderFor(Class<? extends EntityState> entityClass,
                                                   @Nullable Set<?> ids,
                                                   @Nullable Set<CompositeFilter> filters)
focal_class.full_signature: private static Query.Builder queryBuilderFor(Class<? extends EntityState> entityClass,
                                                   @Nullable Set<?> ids,
                                                   @Nullable Set<CompositeFilter> filters)
focal_class.identifier: queryBuilderFor
focal_class.modifiers: private static
focal_class.parameters: (Class<? extends EntityState> entityClass,
                                                   @Nullable Set<?> ids,
                                                   @Nullable Set<CompositeFilter> filters)
focal_class.return: Query.Builder
focal_class.signature: Query.Builder queryBuilderFor(Class<? extends EntityState> entityClass,
                                                   @Nullable Set<?> ids,
                                                   @Nullable Set<CompositeFilter> filters)
focal_class.class_method_signature: QueryFactory.composeQuery(Target target, @Nullable FieldMask fieldMask)
focal_class.full_signature:  Query composeQuery(Target target, @Nullable FieldMask fieldMask)
focal_class.identifier: composeQuery
focal_class.parameters: (Target target, @Nullable FieldMask fieldMask)
focal_class.return: Query
focal_class.signature: Query composeQuery(Target target, @Nullable FieldMask fieldMask)
focal_class.class_method_signature: QueryFactory.queryBuilderFor(Target target)
focal_class.full_signature: @SuppressWarnings("CheckReturnValue") private static Query.Builder queryBuilderFor(Target target)
focal_class.identifier: queryBuilderFor
focal_class.modifiers: @SuppressWarnings("CheckReturnValue") private static
focal_class.parameters: (Target target)
focal_class.return: Query.Builder
focal_class.signature: Query.Builder queryBuilderFor(Target target)
focal_class.class_method_signature: QueryFactory.composeQuery(Target target,
                         OrderBy orderBy,
                         @Nullable FieldMask fieldMask)
focal_class.full_signature:  Query composeQuery(Target target,
                         OrderBy orderBy,
                         @Nullable FieldMask fieldMask)
focal_class.identifier: composeQuery
focal_class.parameters: (Target target,
                         OrderBy orderBy,
                         @Nullable FieldMask fieldMask)
focal_class.return: Query
focal_class.signature: Query composeQuery(Target target,
                         OrderBy orderBy,
                         @Nullable FieldMask fieldMask)
focal_class.class_method_signature: QueryFactory.composeQuery(Target target,
                         OrderBy orderBy,
                         int limit,
                         @Nullable FieldMask fieldMask)
focal_class.full_signature:  Query composeQuery(Target target,
                         OrderBy orderBy,
                         int limit,
                         @Nullable FieldMask fieldMask)
focal_class.identifier: composeQuery
focal_class.parameters: (Target target,
                         OrderBy orderBy,
                         int limit,
                         @Nullable FieldMask fieldMask)
focal_class.return: Query
focal_class.signature: Query composeQuery(Target target,
                         OrderBy orderBy,
                         int limit,
                         @Nullable FieldMask fieldMask)
focal_class.class_method_signature: QueryFactory.checkTargetNotNull(Target target)
focal_class.full_signature: private static void checkTargetNotNull(Target target)
focal_class.identifier: checkTargetNotNull
focal_class.modifiers: private static
focal_class.parameters: (Target target)
focal_class.return: void
focal_class.signature: void checkTargetNotNull(Target target)
focal_class.class_method_signature: QueryFactory.newQuery(Query.Builder builder)
focal_class.full_signature: private Query newQuery(Query.Builder builder)
focal_class.identifier: newQuery
focal_class.modifiers: private
focal_class.parameters: (Query.Builder builder)
focal_class.return: Query
focal_class.signature: Query newQuery(Query.Builder builder)
focal_class.class_method_signature: QueryFactory.responseFormat(@Nullable FieldMask mask,
                                                   @Nullable OrderBy ordering,
                                                   int limit)
focal_class.full_signature: private static ResponseFormat responseFormat(@Nullable FieldMask mask,
                                                   @Nullable OrderBy ordering,
                                                   int limit)
focal_class.identifier: responseFormat
focal_class.modifiers: private static
focal_class.parameters: (@Nullable FieldMask mask,
                                                   @Nullable OrderBy ordering,
                                                   int limit)
focal_class.return: ResponseFormat
focal_class.signature: ResponseFormat responseFormat(@Nullable FieldMask mask,
                                                   @Nullable OrderBy ordering,
                                                   int limit)
focal_method.body: public Query byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths) {
          checkSpecified(entityClass);
          checkNotNull(ids);
          checkArgument(!ids.isEmpty(), ENTITY_IDS_EMPTY_MSG);
          FieldMask fieldMask = fromStringList(null, ImmutableList.copyOf(maskPaths));
          Query result = composeQuery(entityClass, ids, null, fieldMask);
          return result;
      }
focal_method.class_method_signature: QueryFactory.byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_method.full_signature: public Query byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_method.identifier: byIdsWithMask
focal_method.invocations: checkSpecified checkNotNull checkArgument isEmpty fromStringList copyOf composeQuery
focal_method.modifiers: public
focal_method.parameters: (Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)
focal_method.return: Query
focal_method.signature: Query byIdsWithMask(Class<? extends EntityState> entityClass,
                                 Set<?> ids,
                                 String... maskPaths)