code: public void setPage(int offset, int length) {
  		if (this.delegate != null)
  			this.delegate.setPage(offset, length);
  		else {
  			boolean changed = this.pageOffset != offset || this.pageLength != length;
  			if (changed) {
  				this.pageOffset = offset;
  				this.pageLength = length;
  				this.pageChanged = true;
  			}
  		}
  		QueryRecorder.recordInvocation(this, "setPage", Void.TYPE,
  				QueryRecorder.literal(offset), QueryRecorder.literal(length));
  	}
docs: For pagination support, set offset (start) and length of the set of matching objects to be
  returned with respect to the total number of matching objects.
  @param offset
  @param length