@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
Constructor and Description |
---|
QueryStatistics() |
Modifier and Type | Method and Description |
---|---|
QueryStatistics |
clone() |
boolean |
equals(Object obj) |
Double |
getBytesScanned()
The total number of bytes in the log events scanned during the query.
|
Double |
getRecordsMatched()
The number of log events that matched the query string.
|
Double |
getRecordsScanned()
The total number of log events scanned during the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytesScanned(Double bytesScanned)
The total number of bytes in the log events scanned during the query.
|
void |
setRecordsMatched(Double recordsMatched)
The number of log events that matched the query string.
|
void |
setRecordsScanned(Double recordsScanned)
The total number of log events scanned during the query.
|
String |
toString()
Returns a string representation of this object.
|
QueryStatistics |
withBytesScanned(Double bytesScanned)
The total number of bytes in the log events scanned during the query.
|
QueryStatistics |
withRecordsMatched(Double recordsMatched)
The number of log events that matched the query string.
|
QueryStatistics |
withRecordsScanned(Double recordsScanned)
The total number of log events scanned during the query.
|
public void setRecordsMatched(Double recordsMatched)
The number of log events that matched the query string.
recordsMatched
- The number of log events that matched the query string.public Double getRecordsMatched()
The number of log events that matched the query string.
public QueryStatistics withRecordsMatched(Double recordsMatched)
The number of log events that matched the query string.
recordsMatched
- The number of log events that matched the query string.public void setRecordsScanned(Double recordsScanned)
The total number of log events scanned during the query.
recordsScanned
- The total number of log events scanned during the query.public Double getRecordsScanned()
The total number of log events scanned during the query.
public QueryStatistics withRecordsScanned(Double recordsScanned)
The total number of log events scanned during the query.
recordsScanned
- The total number of log events scanned during the query.public void setBytesScanned(Double bytesScanned)
The total number of bytes in the log events scanned during the query.
bytesScanned
- The total number of bytes in the log events scanned during the query.public Double getBytesScanned()
The total number of bytes in the log events scanned during the query.
public QueryStatistics withBytesScanned(Double bytesScanned)
The total number of bytes in the log events scanned during the query.
bytesScanned
- The total number of bytes in the log events scanned during the 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.