Class QueryInsightsResponse
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<QueryInsightsResponse.Builder,
QueryInsightsResponse>
Provides various insights and metrics related to the query that you executed.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Long
Indicates the size of query result set in bytes.final Long
Indicates the total number of rows returned as part of the query result set.final QuerySpatialCoverage
Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning.final Long
Indicates the number of tables in the query.final QueryTemporalRange
Provides insights into the temporal range of the query, including the table with the largest (max) time range.static Class
<? extends QueryInsightsResponse.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Long
Indicates the partitions created by theUnload
operation.final Long
Indicates the size, in bytes, written by theUnload
operation.final Long
Indicates the rows written by theUnload
query.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
querySpatialCoverage
Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning.
- Returns:
- Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning.
-
queryTemporalRange
Provides insights into the temporal range of the query, including the table with the largest (max) time range. Following are some of the potential options for optimizing time-based pruning:
-
Add missing time-predicates.
-
Remove functions around the time predicates.
-
Add time predicates to all the sub-queries.
- Returns:
- Provides insights into the temporal range of the query, including the table with the largest (max) time
range. Following are some of the potential options for optimizing time-based pruning:
-
Add missing time-predicates.
-
Remove functions around the time predicates.
-
Add time predicates to all the sub-queries.
-
-
-
queryTableCount
Indicates the number of tables in the query.
- Returns:
- Indicates the number of tables in the query.
-
outputRows
Indicates the total number of rows returned as part of the query result set. You can use this data to validate if the number of rows in the result set have changed as part of the query tuning exercise.
- Returns:
- Indicates the total number of rows returned as part of the query result set. You can use this data to validate if the number of rows in the result set have changed as part of the query tuning exercise.
-
outputBytes
Indicates the size of query result set in bytes. You can use this data to validate if the result set has changed as part of the query tuning exercise.
- Returns:
- Indicates the size of query result set in bytes. You can use this data to validate if the result set has changed as part of the query tuning exercise.
-
unloadPartitionCount
Indicates the partitions created by the
Unload
operation.- Returns:
- Indicates the partitions created by the
Unload
operation.
-
unloadWrittenRows
Indicates the rows written by the
Unload
query.- Returns:
- Indicates the rows written by the
Unload
query.
-
unloadWrittenBytes
Indicates the size, in bytes, written by the
Unload
operation.- Returns:
- Indicates the size, in bytes, written by the
Unload
operation.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<QueryInsightsResponse.Builder,
QueryInsightsResponse> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-