Class QueryEvalStats
- java.lang.Object
-
- software.amazon.awssdk.services.neptunedata.model.QueryEvalStats
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueryEvalStats.Builder,QueryEvalStats>
@Generated("software.amazon.awssdk:codegen") public final class QueryEvalStats extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryEvalStats.Builder,QueryEvalStats>
Structure to capture query statistics such as how many queries are running, accepted or waiting and their details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueryEvalStats.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryEvalStats.Builderbuilder()Booleancancelled()Set toTRUEif the query was cancelled, or FALSE otherwise.Integerelapsed()The number of milliseconds the query has been running so far.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends QueryEvalStats.Builder>serializableBuilderClass()Documentsubqueries()The number of subqueries in this query.QueryEvalStats.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerwaited()Indicates how long the query waited, in milliseconds.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
waited
public final Integer waited()
Indicates how long the query waited, in milliseconds.
- Returns:
- Indicates how long the query waited, in milliseconds.
-
elapsed
public final Integer elapsed()
The number of milliseconds the query has been running so far.
- Returns:
- The number of milliseconds the query has been running so far.
-
cancelled
public final Boolean cancelled()
Set to
TRUEif the query was cancelled, or FALSE otherwise.- Returns:
- Set to
TRUEif the query was cancelled, or FALSE otherwise.
-
subqueries
public final Document subqueries()
The number of subqueries in this query.
- Returns:
- The number of subqueries in this query.
-
toBuilder
public QueryEvalStats.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueryEvalStats.Builder,QueryEvalStats>
-
builder
public static QueryEvalStats.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueryEvalStats.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-