@Test public void transformToEqualsEnumCriteria_MULTI_ENUM() { String actual = criterionTransformer.transformToEqualsEnumCriteria(JudgmentIndexField.JUDGMENT_TYPE, Lists.newArrayList(JudgmentType.DECISION, JudgmentType.REASONS, JudgmentType.SENTENCE), Operator.OR); assertEquals("+(judgmentType:DECISION judgmentType:REASONS judgmentType:SENTENCE)", actual); }
public String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator) { return transformToEqualsCriteria(field, values.stream().map(x -> x.name()).collect(Collectors.toList()), operator); }
SolrCriterionTransformer { public String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator) { return transformToEqualsCriteria(field, values.stream().map(x -> x.name()).collect(Collectors.toList()), operator); } }
SolrCriterionTransformer { public String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator) { return transformToEqualsCriteria(field, values.stream().map(x -> x.name()).collect(Collectors.toList()), operator); }  }
SolrCriterionTransformer { public String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator) { return transformToEqualsCriteria(field, values.stream().map(x -> x.name()).collect(Collectors.toList()), operator); }  String transformToEqualsCriterionWithParsing(F field, String value); String transformToEqualsCriterion(F field, String value); String transformToEqualsCriterion(F field, String value, Operator operator); String transformToEqualsCriterion(F field, Integer value); String transformToEqualsCriterion(F field, Long value); String transformToEqualsCriterion(F field, Enum<?> enumValue); String transformToEqualsCriteria(F field, List<String> values, Operator operator); String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator); String transformToDateRangeCriterion(F field, LocalDate from, LocalDate to); String transformToRangeCriterion(F field, String from, String to); String and(String criterion); String join(List<String> criteria); }
SolrCriterionTransformer { public String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator) { return transformToEqualsCriteria(field, values.stream().map(x -> x.name()).collect(Collectors.toList()), operator); }  String transformToEqualsCriterionWithParsing(F field, String value); String transformToEqualsCriterion(F field, String value); String transformToEqualsCriterion(F field, String value, Operator operator); String transformToEqualsCriterion(F field, Integer value); String transformToEqualsCriterion(F field, Long value); String transformToEqualsCriterion(F field, Enum<?> enumValue); String transformToEqualsCriteria(F field, List<String> values, Operator operator); String transformToEqualsEnumCriteria(F field, List<? extends Enum<?>> values, Operator operator); String transformToDateRangeCriterion(F field, LocalDate from, LocalDate to); String transformToRangeCriterion(F field, String from, String to); String and(String criterion); String join(List<String> criteria);  }