SolrQueryTranslator extends
        AbstractQueryTranslator<String, SolrOrderings, List<String>> implements
        QueryTranslator<String, SolrOrderings, List<String>> { @Override public String contains(String fieldName, Object[] values) { int n = values.length; if (n == 1) { return eq(fieldName, values[0]); } else { return fq(fieldName, fieldJunction(SolrOperator.AND, values)); } } SolrQueryTranslator(PropertyResolver propertyResolver); @Override String eq(String fieldName, Object value); @Override String ne(String fieldName, Object value); @Override String lt(String fieldName, Object value); @Override String lte(String fieldName, Object value); @Override String gt(String fieldName, Object value); @Override String gte(String fieldName, Object value); @Override String between(String fieldName, Object from, Object to); @Override String in(String fieldName, Object[] values); @Override String notIn(String fieldName, Object[] values); @Override String contains(String fieldName, Object[] values); @Override String isNull(String fieldName); @Override String notNull(String fieldName); @Override String isEmpty(String fieldName); @Override String notEmpty(String fieldName); @Override String within(String fieldName,
            Point<N> center, Number distance); SolrSpatialQuery getSpatialQuery(Query<T, R> query); @Override String and(String... subqueries); @Override String or(String... subqueries); @Override SolrOrderings order(String fieldName, Order o); @Override SolrOrderings order(SolrOrderings... orderings); @Override List<String> translateProjection(Query<T, R> query); static final String TIMESTAMP_FORMAT; }
@Test public void contains() { assertEquals(fq(property, join("(", Joiner.on(opAND).join(quoted(values)), ")")), translator.contains(property, values)); }