docs: public MapConfig setOptimizeQueries(boolean optimizeQueries) {
          validateSetOptimizeQueriesOption(optimizeQueries);
          if (optimizeQueries) {
              this.cacheDeserializedValues = CacheDeserializedValues.ALWAYS;
          }
          //this is used to remember the method has been called explicitly
          this.optimizeQueryExplicitlyInvoked = true;
          return this;
      }