MultiShardExecutionPolicy Enum
- java.
lang. Object - java.
lang. Enum<MultiShardExecutionPolicy> - com.
microsoft. azure. elasticdb. query. logging. MultiShardExecutionPolicy
- com.
- java.
public enum MultiShardExecutionPolicy
Defines the possible query execution policies. Purpose: Defines the possible query execution policies Suppression rationale: "Multi" is the spelling we want here.
Fields
CompleteResults |
With the complete results execution policy an unsuccessful execution against any shard leads to all results being discarded and an exception being thrown either by the ExecuteReader method on the command or the Read method on the reader. |
PartialResults |
A best-effort execution policy that, unlike CompleteResults, tolerates unsuccessful command execution on some (but not all) shards and returns the results of the successful commands. Any errors encountered are returned to the user along with the partial results. The caller can inspect exceptions encountered during execution through the MultiShardAggregateException property of MultiShardResultSet. |
SIZE |
Methods
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по