code: @Deprecated
      public DBCursor setOptions(final int options) {
          if ((options & Bytes.QUERYOPTION_EXHAUST) != 0) {
              throw new UnsupportedOperationException("exhaust query option is not supported");
          }
          this.options = options;
          return this;
      }
docs: Sets the query option - see Bytes.QUERYOPTION_* for list.
  
  @param options the bitmask of options
  @return {@code this} so calls can be chained
  @see Bytes
  @mongodb.driver.manual ../meta-driver/latest/legacy/mongodb-wire-protocol/#op-query Query Flags