Skip to main content
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

Every mode; Self::mode gives each one’s name as the server takes it.

Source

pub fn mode(&self) -> &‘static str

The mode as the server names it.

Source

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

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Source

fn eq(&self, other: &HaSynchronicityMode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.