code: function(sid) {
              // If a search object is passed in, get its sid
              if (sid && sid instanceof Service.Job) {
                  sid = sid.sid;
              }
              
              if (!sid) {
                  throw new Error("Sid to use for acceleration must not be null.");
              }
  
              this.accelerationNamespace = "sid=" + sid;
              return this;
          }
docs: Set the acceleration cache for this pivot specification to a job,
  usually generated by createLocalAccelerationJob on a DataModelObject
  instance, as the acceleration cache for this pivot specification.
  
  @param {String|splunkjs.Service.Job} sid The sid of an acceleration job,
  or, a `splunkjs.Service.Job` instance.
  @return {splunkjs.Service.PivotSpecification} The updated pivot specification.
  
  @method splunkjs.Service.PivotSpecification