#[non_exhaustive]pub struct KxDeploymentConfigurationBuilder { /* private fields */ }Expand description
A builder for KxDeploymentConfiguration.
Implementations§
source§impl KxDeploymentConfigurationBuilder
impl KxDeploymentConfigurationBuilder
sourcepub fn deployment_strategy(self, input: KxDeploymentStrategy) -> Self
pub fn deployment_strategy(self, input: KxDeploymentStrategy) -> Self
The type of deployment that you want on a cluster.
-
ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.
sourcepub fn set_deployment_strategy(
self,
input: Option<KxDeploymentStrategy>
) -> Self
pub fn set_deployment_strategy( self, input: Option<KxDeploymentStrategy> ) -> Self
The type of deployment that you want on a cluster.
-
ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.
sourcepub fn get_deployment_strategy(&self) -> &Option<KxDeploymentStrategy>
pub fn get_deployment_strategy(&self) -> &Option<KxDeploymentStrategy>
The type of deployment that you want on a cluster.
-
ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.
sourcepub fn build(self) -> KxDeploymentConfiguration
pub fn build(self) -> KxDeploymentConfiguration
Consumes the builder and constructs a KxDeploymentConfiguration.
Trait Implementations§
source§impl Clone for KxDeploymentConfigurationBuilder
impl Clone for KxDeploymentConfigurationBuilder
source§fn clone(&self) -> KxDeploymentConfigurationBuilder
fn clone(&self) -> KxDeploymentConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for KxDeploymentConfigurationBuilder
impl Default for KxDeploymentConfigurationBuilder
source§fn default() -> KxDeploymentConfigurationBuilder
fn default() -> KxDeploymentConfigurationBuilder
source§impl PartialEq for KxDeploymentConfigurationBuilder
impl PartialEq for KxDeploymentConfigurationBuilder
source§fn eq(&self, other: &KxDeploymentConfigurationBuilder) -> bool
fn eq(&self, other: &KxDeploymentConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.