Interface SearchSampleQueriesSearchResult.Builder

  • Method Details

    • 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

      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

      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

      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.