Class QuerySummary
- java.lang.Object
-
- software.amazon.awssdk.services.neptunegraph.model.QuerySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QuerySummary.Builder,QuerySummary>
@Generated("software.amazon.awssdk:codegen") public final class QuerySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuerySummary.Builder,QuerySummary>
Details of the query listed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQuerySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuerySummary.Builderbuilder()Integerelapsed()The running time of the query, in milliseconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A string representation of the id of the query.StringqueryString()The actual query text.List<SdkField<?>>sdkFields()static Class<? extends QuerySummary.Builder>serializableBuilderClass()QueryStatestate()State of the query.StringstateAsString()State of the query.QuerySummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerwaited()The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.-
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
-
id
public final String id()
A string representation of the id of the query.
- Returns:
- A string representation of the id of the query.
-
queryString
public final String queryString()
The actual query text. The
queryStringmay be truncated if the actual query string is too long.- Returns:
- The actual query text. The
queryStringmay be truncated if the actual query string is too long.
-
waited
public final Integer waited()
The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.
- Returns:
- The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.
-
elapsed
public final Integer elapsed()
The running time of the query, in milliseconds.
- Returns:
- The running time of the query, in milliseconds.
-
state
public final QueryState state()
State of the query.
If the service returns an enum value that is not available in the current SDK version,
statewill returnQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- State of the query.
- See Also:
QueryState
-
stateAsString
public final String stateAsString()
State of the query.
If the service returns an enum value that is not available in the current SDK version,
statewill returnQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- State of the query.
- See Also:
QueryState
-
toBuilder
public QuerySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QuerySummary.Builder,QuerySummary>
-
builder
public static QuerySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends QuerySummary.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.
-
-