Class QueryInsightsResponse
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamquery.model.QueryInsightsResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>
@Generated("software.amazon.awssdk:codegen") public final class QueryInsightsResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>
Provides various insights and metrics related to the query that you executed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueryInsightsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryInsightsResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongoutputBytes()Indicates the size of query result set in bytes.LongoutputRows()Indicates the total number of rows returned as part of the query result set.QuerySpatialCoveragequerySpatialCoverage()Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning.LongqueryTableCount()Indicates the number of tables in the query.QueryTemporalRangequeryTemporalRange()Provides insights into the temporal range of the query, including the table with the largest (max) time range.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends QueryInsightsResponse.Builder>serializableBuilderClass()QueryInsightsResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongunloadPartitionCount()Indicates the partitions created by theUnloadoperation.LongunloadWrittenBytes()Indicates the size, in bytes, written by theUnloadoperation.LongunloadWrittenRows()Indicates the rows written by theUnloadquery.-
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
-
querySpatialCoverage
public final QuerySpatialCoverage 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
public final QueryTemporalRange 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
public final Long queryTableCount()
Indicates the number of tables in the query.
- Returns:
- Indicates the number of tables in the query.
-
outputRows
public final Long 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
public final Long 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
public final Long unloadPartitionCount()
Indicates the partitions created by the
Unloadoperation.- Returns:
- Indicates the partitions created by the
Unloadoperation.
-
unloadWrittenRows
public final Long unloadWrittenRows()
Indicates the rows written by the
Unloadquery.- Returns:
- Indicates the rows written by the
Unloadquery.
-
unloadWrittenBytes
public final Long unloadWrittenBytes()
Indicates the size, in bytes, written by the
Unloadoperation.- Returns:
- Indicates the size, in bytes, written by the
Unloadoperation.
-
toBuilder
public QueryInsightsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>
-
builder
public static QueryInsightsResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueryInsightsResponse.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
-
-