Interface SearchSampleQueriesSearchResult.Builder

    • Method Detail

      • name

        SearchSampleQueriesSearchResult.Builder name​(String name)

        The name of a sample query.

        Parameters:
        name - The name of a sample query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        SearchSampleQueriesSearchResult.Builder description​(String description)

        A longer description of a sample query.

        Parameters:
        description - A longer description of a sample query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sql

        SearchSampleQueriesSearchResult.Builder sql​(String sql)

        The SQL code of the sample query.

        Parameters:
        sql - The SQL code of the sample query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relevance

        SearchSampleQueriesSearchResult.Builder relevance​(Float relevance)

        A value between 0 and 1 indicating the similarity between the search phrase and result.

        Parameters:
        relevance - A value between 0 and 1 indicating the similarity between the search phrase and result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.