@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Metadata about a query, such as the number of results.
Constructor and Description |
---|
QueryStatistics() |
Modifier and Type | Method and Description |
---|---|
QueryStatistics |
clone() |
boolean |
equals(Object obj) |
Integer |
getResultsCount()
The number of results returned.
|
Integer |
getTotalResultsCount()
The total number of results returned by a query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResultsCount(Integer resultsCount)
The number of results returned.
|
void |
setTotalResultsCount(Integer totalResultsCount)
The total number of results returned by a query.
|
String |
toString()
Returns a string representation of this object.
|
QueryStatistics |
withResultsCount(Integer resultsCount)
The number of results returned.
|
QueryStatistics |
withTotalResultsCount(Integer totalResultsCount)
The total number of results returned by a query.
|
public void setResultsCount(Integer resultsCount)
The number of results returned.
resultsCount
- The number of results returned.public Integer getResultsCount()
The number of results returned.
public QueryStatistics withResultsCount(Integer resultsCount)
The number of results returned.
resultsCount
- The number of results returned.public void setTotalResultsCount(Integer totalResultsCount)
The total number of results returned by a query.
totalResultsCount
- The total number of results returned by a query.public Integer getTotalResultsCount()
The total number of results returned by a query.
public QueryStatistics withTotalResultsCount(Integer totalResultsCount)
The total number of results returned by a query.
totalResultsCount
- The total number of results returned by a query.public String toString()
toString
in class Object
Object.toString()
public QueryStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.