com.groupbyinc.api.model.ResultsMetadata Maven / Gradle / Ivy
package com.groupbyinc.api.model;
public class ResultsMetadata {
private boolean cached;
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 com.groupbyinc.api.model.ResultsMetadata setRecordLimitReached(boolean recordLimitReached) {
this.recordLimitReached = recordLimitReached;
return this;
}
/**
* @return The total time spent in milliseconds.
*/
public long getTotalTime() {
return totalTime;
}
public com.groupbyinc.api.model.ResultsMetadata setTotalTime(long totalTime) {
this.totalTime = totalTime;
return this;
}
/**
*
* @return true if the query was cached, false otherwise
*/
public boolean isCached() {
return cached;
}
public com.groupbyinc.api.model.ResultsMetadata setCached(boolean cached) {
this.cached = cached;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy