public static Query withValues(String field,
                                   NaryOp op,
                                   Literal... values) {
        Query q = new Query(false);
        q.add("field", field).add("op", op.toString()).add("values", Literal.toJson(values));
        return q;
    }
public static Query withValues ( String field , NaryOp op , Literal ... values ) { Query q = new Query ( false ) ; q . add ( "field" , field ) . add ( "op" , op . toString ( ) ) . add ( "values" , Literal . toJson ( values ) ) ; return q ; }
<pre>
{ field: <field>, op: <in/nin>, values: [ values ] }
</pre>