@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) |
Long |
getBytesScanned()
The total bytes that the query scanned in the event data store.
|
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 |
setBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store.
|
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 |
withBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store.
|
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 void setBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
bytesScanned
- The total bytes that the query scanned in the event data store. This value matches the number of bytes for
which your account is billed for the query, unless the query is still running.public Long getBytesScanned()
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
public QueryStatistics withBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
bytesScanned
- The total bytes that the query scanned in the event data store. This value matches the number of bytes for
which your account is billed for the query, unless the query is still running.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.