test_class.file: server/src/test/java/io/spine/server/entity/storage/EntityQueriesTest.java
test_class.identifier: EntityQueriesTest
test_class.superclass: extends UtilityClassTest<EntityQueries>
test_case.body: @Test
      @DisplayName("check filter type")
      void checkFilterType() {
          // Boolean EntityColumn queried for for an Integer value
          Filter filter = Filters.gt(archived.name(), 42);
          CompositeFilter compositeFilter = Filters.all(filter);
          TargetFilters filters = TargetFilters
                  .newBuilder()
                  .addFilter(compositeFilter)
                  .build();
  
          assertThrows(IllegalArgumentException.class,
                       () -> createEntityQuery(filters, TestEntity.class));
      }
test_case.class_method_signature: EntityQueriesTest.checkFilterType()
test_case.full_signature: @Test @DisplayName("check filter type") void checkFilterType()
test_case.identifier: checkFilterType
test_case.invocations: gt name all build addFilter newBuilder assertThrows createEntityQuery
test_case.modifiers: @Test @DisplayName("check filter type")
test_case.parameters: ()
test_case.return: void
test_case.signature: void checkFilterType()
focal_class.file: server/src/main/java/io/spine/server/entity/storage/EntityQueries.java
focal_class.identifier: EntityQueries
focal_class.class_method_signature: EntityQueries.EntityQueries()
focal_class.full_signature: private  EntityQueries()
focal_class.identifier: EntityQueries
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  EntityQueries()
focal_class.class_method_signature: EntityQueries.from(TargetFilters filters,
                                            RecordStorage<I> storage)
focal_class.full_signature: public static EntityQuery<I> from(TargetFilters filters,
                                            RecordStorage<I> storage)
focal_class.identifier: from
focal_class.modifiers: public static
focal_class.parameters: (TargetFilters filters,
                                            RecordStorage<I> storage)
focal_class.return: EntityQuery<I>
focal_class.signature: EntityQuery<I> from(TargetFilters filters,
                                            RecordStorage<I> storage)
focal_class.class_method_signature: EntityQueries.from(TargetFilters filters, Columns columns)
focal_class.full_signature: @VisibleForTesting static EntityQuery<I> from(TargetFilters filters, Columns columns)
focal_class.identifier: from
focal_class.modifiers: @VisibleForTesting static
focal_class.parameters: (TargetFilters filters, Columns columns)
focal_class.return: EntityQuery<I>
focal_class.signature: EntityQuery<I> from(TargetFilters filters, Columns columns)
focal_class.class_method_signature: EntityQueries.toQueryParams(TargetFilters filters, Columns columns)
focal_class.full_signature: private static QueryParameters toQueryParams(TargetFilters filters, Columns columns)
focal_class.identifier: toQueryParams
focal_class.modifiers: private static
focal_class.parameters: (TargetFilters filters, Columns columns)
focal_class.return: QueryParameters
focal_class.signature: QueryParameters toQueryParams(TargetFilters filters, Columns columns)
focal_class.class_method_signature: EntityQueries.getFiltersQueryParams(TargetFilters filters, Columns columns)
focal_class.full_signature: private static List<CompositeQueryParameter> getFiltersQueryParams(TargetFilters filters, Columns columns)
focal_class.identifier: getFiltersQueryParams
focal_class.modifiers: private static
focal_class.parameters: (TargetFilters filters, Columns columns)
focal_class.return: List<CompositeQueryParameter>
focal_class.signature: List<CompositeQueryParameter> getFiltersQueryParams(TargetFilters filters, Columns columns)
focal_class.class_method_signature: EntityQueries.newQueryParameters(List<CompositeQueryParameter> parameters)
focal_class.full_signature: private static QueryParameters newQueryParameters(List<CompositeQueryParameter> parameters)
focal_class.identifier: newQueryParameters
focal_class.modifiers: private static
focal_class.parameters: (List<CompositeQueryParameter> parameters)
focal_class.return: QueryParameters
focal_class.signature: QueryParameters newQueryParameters(List<CompositeQueryParameter> parameters)
focal_class.class_method_signature: EntityQueries.queryParameterFromFilter(CompositeFilter filter, Columns columns)
focal_class.full_signature: private static CompositeQueryParameter queryParameterFromFilter(CompositeFilter filter, Columns columns)
focal_class.identifier: queryParameterFromFilter
focal_class.modifiers: private static
focal_class.parameters: (CompositeFilter filter, Columns columns)
focal_class.return: CompositeQueryParameter
focal_class.signature: CompositeQueryParameter queryParameterFromFilter(CompositeFilter filter, Columns columns)
focal_class.class_method_signature: EntityQueries.splitFilters(CompositeFilter filter, Columns columns)
focal_class.full_signature: private static Multimap<Column, Filter> splitFilters(CompositeFilter filter, Columns columns)
focal_class.identifier: splitFilters
focal_class.modifiers: private static
focal_class.parameters: (CompositeFilter filter, Columns columns)
focal_class.return: Multimap<Column, Filter>
focal_class.signature: Multimap<Column, Filter> splitFilters(CompositeFilter filter, Columns columns)
focal_class.class_method_signature: EntityQueries.findMatchingColumn(Filter filter, Columns columns)
focal_class.full_signature: private static Column findMatchingColumn(Filter filter, Columns columns)
focal_class.identifier: findMatchingColumn
focal_class.modifiers: private static
focal_class.parameters: (Filter filter, Columns columns)
focal_class.return: Column
focal_class.signature: Column findMatchingColumn(Filter filter, Columns columns)
focal_class.class_method_signature: EntityQueries.checkFilterType(Column column, Filter filter)
focal_class.full_signature: private static void checkFilterType(Column column, Filter filter)
focal_class.identifier: checkFilterType
focal_class.modifiers: private static
focal_class.parameters: (Column column, Filter filter)
focal_class.return: void
focal_class.signature: void checkFilterType(Column column, Filter filter)
focal_class.class_method_signature: EntityQueries.toIdentifiers(TargetFilters filters)
focal_class.full_signature: @SuppressWarnings("unchecked" /* The caller is responsible to pass the proper IDs. */) private static List<I> toIdentifiers(TargetFilters filters)
focal_class.identifier: toIdentifiers
focal_class.modifiers: @SuppressWarnings("unchecked" /* The caller is responsible to pass the proper IDs. */) private static
focal_class.parameters: (TargetFilters filters)
focal_class.return: List<I>
focal_class.signature: List<I> toIdentifiers(TargetFilters filters)
focal_method.body: private static void checkFilterType(Column column, Filter filter) {
          Class<?> expectedType = column.type();
          Any filterConvent = filter.getValue();
          Object filterValue = toObject(filterConvent, expectedType);
          Class<?> actualType = filterValue.getClass();
          checkArgument(wrap(expectedType).isAssignableFrom(wrap(actualType)),
                        "Column type mismatch. Column `%s` cannot have value `%s`.",
                        column,
                        filterValue);
      }
focal_method.class_method_signature: EntityQueries.checkFilterType(Column column, Filter filter)
focal_method.full_signature: private static void checkFilterType(Column column, Filter filter)
focal_method.identifier: checkFilterType
focal_method.invocations: type getValue toObject getClass checkArgument isAssignableFrom wrap wrap
focal_method.modifiers: private static
focal_method.parameters: (Column column, Filter filter)
focal_method.return: void
focal_method.signature: void checkFilterType(Column column, Filter filter)