Interface ScheduledQueryInsightsResponse.Builder

    • Method Detail

      • querySpatialCoverage

        ScheduledQueryInsightsResponse.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.
      • queryTemporalRange

        ScheduledQueryInsightsResponse.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.
      • queryTableCount

        ScheduledQueryInsightsResponse.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

        ScheduledQueryInsightsResponse.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

        ScheduledQueryInsightsResponse.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.