Interface CompatibilityResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CompatibilityResult.Builder,,CompatibilityResult> SdkBuilder<CompatibilityResult.Builder,,CompatibilityResult> SdkPojo
- Enclosing class:
CompatibilityResult
-
Method Summary
Modifier and TypeMethodDescriptionconfidence(String confidence) The confidence that the translated query is equivalent to the original query.confidence(CompatibilityConfidence confidence) The confidence that the translated query is equivalent to the original query.The unique ID of the translation.resultSummary(String resultSummary) A JSON-formatted summary of the validation, including execution and data validation checks, the checks that passed and failed, and the execution times of the original and translated queries.sourceQueryExecutionId(String sourceQueryExecutionId) The ID of a previous query execution whose translation result was reused for this query, if any.The status of the translation, and of the validation if one was run.status(CompatibilityStatus status) The status of the translation, and of the validation if one was run.targetQuery(String targetQuery) The translated query string for DuckDB.targetQueryExecutionAttempts(String... targetQueryExecutionAttempts) The IDs of all query executions that were attempted to validate the translated query on DuckDB.targetQueryExecutionAttempts(Collection<String> targetQueryExecutionAttempts) The IDs of all query executions that were attempted to validate the translated query on DuckDB.targetQueryExecutionId(String targetQueryExecutionId) The ID of the query execution that ran the translated query on DuckDB for validation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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, and of the validation if one was run. Valid values are
SUCCEEDEDandFAILED.- Parameters:
status- The status of the translation, and of the validation if one was run. Valid values areSUCCEEDEDandFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the translation, and of the validation if one was run. Valid values are
SUCCEEDEDandFAILED.- Parameters:
status- The status of the translation, and of the validation if one was run. Valid values areSUCCEEDEDandFAILED.- 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, andTRANSLATION_NEEDS_HUMAN_REVIEW.- Parameters:
confidence- The confidence that the translated query is equivalent to the original query. Valid values areNO_TRANSLATION_NEEDED,TRANSLATED_TO_TARGET_DIALECT, andTRANSLATION_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, andTRANSLATION_NEEDS_HUMAN_REVIEW.- Parameters:
confidence- The confidence that the translated query is equivalent to the original query. Valid values areNO_TRANSLATION_NEEDED,TRANSLATED_TO_TARGET_DIALECT, andTRANSLATION_NEEDS_HUMAN_REVIEW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceQueryExecutionId
The ID of a previous query execution whose translation result was reused for this query, if any.
- Parameters:
sourceQueryExecutionId- The ID of a previous query execution whose translation result was reused for this query, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetQueryExecutionId
The ID of the query execution that ran the translated query on DuckDB for validation.
- Parameters:
targetQueryExecutionId- The ID of the query execution that ran the translated query on DuckDB for validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetQueryExecutionAttempts
CompatibilityResult.Builder targetQueryExecutionAttempts(Collection<String> targetQueryExecutionAttempts) The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.
- Parameters:
targetQueryExecutionAttempts- The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetQueryExecutionAttempts
The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.
- Parameters:
targetQueryExecutionAttempts- The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultSummary
A JSON-formatted summary of the validation, including execution and data validation checks, the checks that passed and failed, and the execution times of the original and translated queries.
- Parameters:
resultSummary- A JSON-formatted summary of the validation, including execution and data validation checks, the checks that passed and failed, and the execution times of the original and translated queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-