Select and expression is not reside using cb sdk 3.2

Since new CB SDK does not support below expression (Select / Expression), do we need to create a query as a String “statement” and running through query option. As showed in example below or there is any other way …?
getCluster().query(statement, QueryOptions.queryOptions().parameters(placeholders));

import static com.couchbase.client.java.query.Select.select;
import static com.couchbase.client.java.query.dsl.Expression.i;
import static com.couchbase.client.java.query.dsl.Expression.x;

Hi Mehul,

Does this other thread answer your question?

Thanks,
David

thanks much, i got my answer i have decided to switch to writing straight queries.