@Test @DisplayName("fail to construct for invalid operator") void rejectInvalidOperator() { assertThrows(IllegalArgumentException.class, () -> CompositeQueryParameter.from(ImmutableMultimap.of(), CCF_CO_UNDEFINED)); }
static CompositeQueryParameter from(Multimap<Column, Filter> filters, CompositeOperator operator) { checkNotNull(filters); checkNotNull(operator); checkArgument(operator.getNumber() > 0, "Invalid aggregating operator %s.", operator); return new CompositeQueryParameter(operator, filters); }
CompositeQueryParameter { static CompositeQueryParameter from(Multimap<Column, Filter> filters, CompositeOperator operator) { checkNotNull(filters); checkNotNull(operator); checkArgument(operator.getNumber() > 0, "Invalid aggregating operator %s.", operator); return new CompositeQueryParameter(operator, filters); } }
CompositeQueryParameter { static CompositeQueryParameter from(Multimap<Column, Filter> filters, CompositeOperator operator) { checkNotNull(filters); checkNotNull(operator); checkArgument(operator.getNumber() > 0, "Invalid aggregating operator %s.", operator); return new CompositeQueryParameter(operator, filters); } private  CompositeQueryParameter(CompositeOperator operator,
                                    Multimap<Column, Filter> filters); }
CompositeQueryParameter { static CompositeQueryParameter from(Multimap<Column, Filter> filters, CompositeOperator operator) { checkNotNull(filters); checkNotNull(operator); checkArgument(operator.getNumber() > 0, "Invalid aggregating operator %s.", operator); return new CompositeQueryParameter(operator, filters); } private  CompositeQueryParameter(CompositeOperator operator,
                                    Multimap<Column, Filter> filters); CompositeOperator operator(); ImmutableMultimap<Column, Filter> filters(); CompositeQueryParameter conjunct(Iterable<CompositeQueryParameter> other); CompositeQueryParameter and(Column column, Filter filter); boolean hasLifecycle(); @Override boolean equals(Object o); @Override int hashCode(); @SuppressWarnings("DuplicateStringLiteralInspection") // In generated code. @Override String toString(); }
CompositeQueryParameter { static CompositeQueryParameter from(Multimap<Column, Filter> filters, CompositeOperator operator) { checkNotNull(filters); checkNotNull(operator); checkArgument(operator.getNumber() > 0, "Invalid aggregating operator %s.", operator); return new CompositeQueryParameter(operator, filters); } private  CompositeQueryParameter(CompositeOperator operator,
                                    Multimap<Column, Filter> filters); CompositeOperator operator(); ImmutableMultimap<Column, Filter> filters(); CompositeQueryParameter conjunct(Iterable<CompositeQueryParameter> other); CompositeQueryParameter and(Column column, Filter filter); boolean hasLifecycle(); @Override boolean equals(Object o); @Override int hashCode(); @SuppressWarnings("DuplicateStringLiteralInspection") // In generated code. @Override String toString();  }