We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f728e commit 3b95c9cCopy full SHA for 3b95c9c
1 file changed
src/main/java/com/groupbyinc/api/model/ResultsMetadata.java
@@ -7,7 +7,7 @@
7
*/
8
public class ResultsMetadata {
9
10
- private boolean cached = false;
+ private boolean cached;
11
private boolean recordLimitReached;
12
private long totalTime;
13
@@ -36,11 +36,15 @@ public ResultsMetadata setTotalTime(long totalTime) {
36
return this;
37
}
38
39
- public boolean isCached(){
+ /**
40
+ *
41
+ * @return true if the query was cached, false otherwise
42
+ */
43
+ public boolean isCached() {
44
return cached;
45
46
- public ResultsMetadata setCached(boolean cached){
47
+ public ResultsMetadata setCached(boolean cached) {
48
this.cached = cached;
49
50
0 commit comments