@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryEvalStats extends Object implements Serializable, Cloneable, StructuredPojo
Structure to capture query statistics such as how many queries are running, accepted or waiting and their details.
Constructor and Description |
---|
QueryEvalStats() |
Modifier and Type | Method and Description |
---|---|
QueryEvalStats |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCancelled()
Set to
TRUE if the query was cancelled, or FALSE otherwise. |
Integer |
getElapsed()
The number of milliseconds the query has been running so far.
|
Integer |
getWaited()
Indicates how long the query waited, in milliseconds.
|
int |
hashCode() |
Boolean |
isCancelled()
Set to
TRUE if the query was cancelled, or FALSE otherwise. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCancelled(Boolean cancelled)
Set to
TRUE if the query was cancelled, or FALSE otherwise. |
void |
setElapsed(Integer elapsed)
The number of milliseconds the query has been running so far.
|
void |
setWaited(Integer waited)
Indicates how long the query waited, in milliseconds.
|
String |
toString()
Returns a string representation of this object.
|
QueryEvalStats |
withCancelled(Boolean cancelled)
Set to
TRUE if the query was cancelled, or FALSE otherwise. |
QueryEvalStats |
withElapsed(Integer elapsed)
The number of milliseconds the query has been running so far.
|
QueryEvalStats |
withWaited(Integer waited)
Indicates how long the query waited, in milliseconds.
|
public void setWaited(Integer waited)
Indicates how long the query waited, in milliseconds.
waited
- Indicates how long the query waited, in milliseconds.public Integer getWaited()
Indicates how long the query waited, in milliseconds.
public QueryEvalStats withWaited(Integer waited)
Indicates how long the query waited, in milliseconds.
waited
- Indicates how long the query waited, in milliseconds.public void setElapsed(Integer elapsed)
The number of milliseconds the query has been running so far.
elapsed
- The number of milliseconds the query has been running so far.public Integer getElapsed()
The number of milliseconds the query has been running so far.
public QueryEvalStats withElapsed(Integer elapsed)
The number of milliseconds the query has been running so far.
elapsed
- The number of milliseconds the query has been running so far.public void setCancelled(Boolean cancelled)
Set to TRUE
if the query was cancelled, or FALSE otherwise.
cancelled
- Set to TRUE
if the query was cancelled, or FALSE otherwise.public Boolean getCancelled()
Set to TRUE
if the query was cancelled, or FALSE otherwise.
TRUE
if the query was cancelled, or FALSE otherwise.public QueryEvalStats withCancelled(Boolean cancelled)
Set to TRUE
if the query was cancelled, or FALSE otherwise.
cancelled
- Set to TRUE
if the query was cancelled, or FALSE otherwise.public Boolean isCancelled()
Set to TRUE
if the query was cancelled, or FALSE otherwise.
TRUE
if the query was cancelled, or FALSE otherwise.public String toString()
toString
in class Object
Object.toString()
public QueryEvalStats clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.