Interface QueryInsights.Builder

    • Method Detail

      • mode

        QueryInsights.Builder mode​(String mode)

        Provides the following modes to enable QueryInsights:

        • ENABLED_WITH_RATE_CONTROL – Enables QueryInsights for the queries being processed. This mode also includes a rate control mechanism, which limits the QueryInsights feature to 1 query per second (QPS).

        • DISABLED – Disables QueryInsights.

        Parameters:
        mode - Provides the following modes to enable QueryInsights:

        • ENABLED_WITH_RATE_CONTROL – Enables QueryInsights for the queries being processed. This mode also includes a rate control mechanism, which limits the QueryInsights feature to 1 query per second (QPS).

        • DISABLED – Disables QueryInsights.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryInsightsMode, QueryInsightsMode
      • mode

        QueryInsights.Builder mode​(QueryInsightsMode mode)

        Provides the following modes to enable QueryInsights:

        • ENABLED_WITH_RATE_CONTROL – Enables QueryInsights for the queries being processed. This mode also includes a rate control mechanism, which limits the QueryInsights feature to 1 query per second (QPS).

        • DISABLED – Disables QueryInsights.

        Parameters:
        mode - Provides the following modes to enable QueryInsights:

        • ENABLED_WITH_RATE_CONTROL – Enables QueryInsights for the queries being processed. This mode also includes a rate control mechanism, which limits the QueryInsights feature to 1 query per second (QPS).

        • DISABLED – Disables QueryInsights.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryInsightsMode, QueryInsightsMode