Hi I'm using Java SDK for making queries with N1QL. But the problem is that
my java compilator could not perform this sentence that is mentioned in the
documentation:
System.setProperty("com.couchbase.queryEnabled","true");
Does anyone knows what library must be imported in the class in order that
this could be done.
These are the libraries that are currently imported in my class
import com.couchbase.client.java.Bucket;
import com.couchbase.client.java.Cluster;
import com.couchbase.client.java.env.DefaultCouchbaseEnvironment;
import com.couchbase.client.java.env.*;
import com.couchbase.client.java.CouchbaseCluster;
import com.couchbase.client.java.document.JsonDocument;
import com.couchbase.client.java.document.json.JsonObject;
import com.couchbase.client.java.query.Query;
import com.couchbase.client.java.query.QueryParams;
import com.couchbase.client.java.query.QueryResult;
import com.couchbase.client.java.query.consistency.ScanConsistency;
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.s;
import static com.couchbase.client.java.query.dsl.Expression.x;
import static com.couchbase.client.java.query.Select.*;
import com.couchbase.client.java.query.Statement;
import static com.couchbase.client.java.query.dsl.Expression.*;
Thanks!!
--
You received this message because you are subscribed to the Google Groups
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.