Interface NamedQueryCompatibilityResult.Builder

  • Method Details

    • id

      The unique ID of the translation.

      Parameters:
      id - The unique ID of the translation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetQuery

      The translated query string for DuckDB.

      Parameters:
      targetQuery - The translated query string for DuckDB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the translation. Valid values are SUCCEEDED and FAILED.

      Parameters:
      status - The status of the translation. Valid values are SUCCEEDED and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the translation. Valid values are SUCCEEDED and FAILED.

      Parameters:
      status - The status of the translation. Valid values are SUCCEEDED and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      The confidence that the translated query is equivalent to the original query. Valid values are NO_TRANSLATION_NEEDED, TRANSLATED_TO_TARGET_DIALECT, and TRANSLATION_NEEDS_HUMAN_REVIEW.

      Parameters:
      confidence - The confidence that the translated query is equivalent to the original query. Valid values are NO_TRANSLATION_NEEDED, TRANSLATED_TO_TARGET_DIALECT, and TRANSLATION_NEEDS_HUMAN_REVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      The confidence that the translated query is equivalent to the original query. Valid values are NO_TRANSLATION_NEEDED, TRANSLATED_TO_TARGET_DIALECT, and TRANSLATION_NEEDS_HUMAN_REVIEW.

      Parameters:
      confidence - The confidence that the translated query is equivalent to the original query. Valid values are NO_TRANSLATION_NEEDED, TRANSLATED_TO_TARGET_DIALECT, and TRANSLATION_NEEDS_HUMAN_REVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resultSummary

      NamedQueryCompatibilityResult.Builder resultSummary(String resultSummary)

      A JSON-formatted summary of the translation, including any validation checks that were run and their results.

      Parameters:
      resultSummary - A JSON-formatted summary of the translation, including any validation checks that were run and their results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.