code: public Reader<T> limit(final long limit) {
          this.limit = limit;
  
          if (this.pageSize == null) {
              this.pageSize = (new Long(this.limit)).intValue();
          }
  
          return this;
      }
docs: Sets the max number of records to read.
  
  @param limit max number of records to read
  @return this reader