Interface QueryInsightsResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>,SdkBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>,SdkPojo
- Enclosing class:
- QueryInsightsResponse
public static interface QueryInsightsResponse.Builder extends SdkPojo, CopyableBuilder<QueryInsightsResponse.Builder,QueryInsightsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QueryInsightsResponse.BuilderoutputBytes(Long outputBytes)Indicates the size of query result set in bytes.QueryInsightsResponse.BuilderoutputRows(Long outputRows)Indicates the total number of rows returned as part of the query result set.default QueryInsightsResponse.BuilderquerySpatialCoverage(Consumer<QuerySpatialCoverage.Builder> querySpatialCoverage)Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning.QueryInsightsResponse.BuilderquerySpatialCoverage(QuerySpatialCoverage querySpatialCoverage)Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning.QueryInsightsResponse.BuilderqueryTableCount(Long queryTableCount)Indicates the number of tables in the query.default QueryInsightsResponse.BuilderqueryTemporalRange(Consumer<QueryTemporalRange.Builder> queryTemporalRange)Provides insights into the temporal range of the query, including the table with the largest (max) time range.QueryInsightsResponse.BuilderqueryTemporalRange(QueryTemporalRange queryTemporalRange)Provides insights into the temporal range of the query, including the table with the largest (max) time range.QueryInsightsResponse.BuilderunloadPartitionCount(Long unloadPartitionCount)Indicates the partitions created by theUnloadoperation.QueryInsightsResponse.BuilderunloadWrittenBytes(Long unloadWrittenBytes)Indicates the size, in bytes, written by theUnloadoperation.QueryInsightsResponse.BuilderunloadWrittenRows(Long unloadWrittenRows)Indicates the rows written by theUnloadquery.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
querySpatialCoverage
QueryInsightsResponse.Builder querySpatialCoverage(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
querySpatialCoverage
default QueryInsightsResponse.Builder querySpatialCoverage(Consumer<QuerySpatialCoverage.Builder> 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.
This is a convenience method that creates an instance of theQuerySpatialCoverage.Builderavoiding the need to create one manually viaQuerySpatialCoverage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquerySpatialCoverage(QuerySpatialCoverage).- Parameters:
querySpatialCoverage- a consumer that will call methods onQuerySpatialCoverage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
querySpatialCoverage(QuerySpatialCoverage)
-
queryTemporalRange
QueryInsightsResponse.Builder queryTemporalRange(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
queryTemporalRange
default QueryInsightsResponse.Builder queryTemporalRange(Consumer<QueryTemporalRange.Builder> 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.
QueryTemporalRange.Builderavoiding the need to create one manually viaQueryTemporalRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryTemporalRange(QueryTemporalRange).- Parameters:
queryTemporalRange- a consumer that will call methods onQueryTemporalRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queryTemporalRange(QueryTemporalRange)
-
-
queryTableCount
QueryInsightsResponse.Builder queryTableCount(Long queryTableCount)
Indicates the number of tables in the query.
- Parameters:
queryTableCount- Indicates the number of tables in the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputRows
QueryInsightsResponse.Builder outputRows(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
outputBytes
QueryInsightsResponse.Builder outputBytes(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
unloadPartitionCount
QueryInsightsResponse.Builder unloadPartitionCount(Long unloadPartitionCount)
Indicates the partitions created by the
Unloadoperation.- Parameters:
unloadPartitionCount- Indicates the partitions created by theUnloadoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unloadWrittenRows
QueryInsightsResponse.Builder unloadWrittenRows(Long unloadWrittenRows)
Indicates the rows written by the
Unloadquery.- Parameters:
unloadWrittenRows- Indicates the rows written by theUnloadquery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unloadWrittenBytes
QueryInsightsResponse.Builder unloadWrittenBytes(Long unloadWrittenBytes)
Indicates the size, in bytes, written by the
Unloadoperation.- Parameters:
unloadWrittenBytes- Indicates the size, in bytes, written by theUnloadoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-