public class Statistics extends Object implements Serializable
A map of key-value pairs for all supported statistics. Currently, only count is supported.
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getCount()
The count of things that match the query.
|
int |
hashCode() |
void |
setCount(Integer count)
The count of things that match the query.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Statistics |
withCount(Integer count)
The count of things that match the query.
|
public Integer getCount()
The count of things that match the query.
The count of things that match the query.
public void setCount(Integer count)
The count of things that match the query.
count - The count of things that match the query.
public Statistics withCount(Integer count)
The count of things that match the query.
Returns a reference to this object so that method calls can be chained together.
count - The count of things that match the query.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.