pub enum HaSynchronicityMode
Default,
None,
Synchronous,
SynchronousParallel,
Asynchronous,
AsynchronousParallel,
The high availability synchronicity override sent with each request. Anything but Default is sent as the X-Kinetica-Group header.
Variants
Default
No override; the HA process decides which endpoints are synchronous.
None
Do not replicate the endpoint calls.
Synchronous
Execute the query locally, then send it to each cluster in turn.
SynchronousParallel
Send the query to each cluster and execute it locally, at once.
Asynchronous
Execute the query locally, then queue it for each cluster.
AsynchronousParallel
Queue the query for each cluster and execute it locally, at once.
Implementations
pub const ALL: [HaSynchronicityMode; 6]
Every mode; Self::mode gives each one’s name as the server takes it.
pub fn from_value(value: &str) -> Option<Self>
The mode named by value, in any case, as a mode, as a constant name, or as a mode without its REPL_ prefix.
Trait Implementations
impl Clone for HaSynchronicityMode
fn clone(&self) -> HaSynchronicityMode
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for HaSynchronicityMode
impl Debug for HaSynchronicityMode
impl Default for HaSynchronicityMode
fn default() -> HaSynchronicityMode
impl Eq for HaSynchronicityMode
impl PartialEq for HaSynchronicityMode
fn eq(&self, other: &HaSynchronicityMode) -> bool
self and other values to be equal, and is used by ==.