Example #1
0
 /**
  * Sets the value of the query document to the new value.
  *
  * @param query The new value for the query document.
  * @return This builder for chaining method calls.
  */
 public Builder setQuery(final DocumentAssignable query) {
   myQuery = query.asDocument();
   return this;
 }
Example #2
0
 /**
  * Creates a new Builder.
  *
  * @param query The query document.
  */
 public Builder(final DocumentAssignable query) {
   this();
   myQuery = query.asDocument();
 }