package com.groupbyinc.api.model;

/**
 * ResultsMetadata
 *
 * @author groupby
 */
public class ResultsMetadata {

  private boolean recordLimitReached;
  private long totalTime;

  /**
   * @return true if the total record count is actually greater than the returned record count in the response, false otherwise.
   * The limit on the amount of records considered by the engine has been reached.
   */
  public boolean isRecordLimitReached() {
    return recordLimitReached;
  }

  public ResultsMetadata setRecordLimitReached(boolean recordLimitReached) {
    this.recordLimitReached = recordLimitReached;
    return this;
  }

  /**
   * @return The total time spent.
   */
  public long getTotalTime() {
    return totalTime;
  }

  public ResultsMetadata setTotalTime(long totalTime) {
    this.totalTime = totalTime;
    return this;
  }
}

@@ -664,16 +664,32 @@
 me spent
+ in milliseconds
 .%0A   */%0A

clarify that total time is in milliseconds