code: public static RawAnalyticsRequest jsonQuery(String jsonQuery, String bucket, String password) {
          return new RawAnalyticsRequest(jsonQuery, bucket, bucket, password, null, GenericAnalyticsRequest.NO_PRIORITY);
      }
docs: Create a {@link RawAnalyticsRequest} containing a full Analytics query in Json form (including additional
  query parameters).
  
  The simplest form of such a query is a single statement encapsulated in a json query object:
  <pre>{"statement":"SELECT * FROM default"}</pre>.
  
  @param jsonQuery the Analytics query in json form.
  @param bucket the bucket on which to perform the query.
  @param password the password for the target bucket.
  @return a {@link RawAnalyticsRequest} for this full query.