#[non_exhaustive]pub struct CreateKxDataviewOutput {
pub dataview_name: Option<String>,
pub database_name: Option<String>,
pub environment_id: Option<String>,
pub az_mode: Option<KxAzMode>,
pub availability_zone_id: Option<String>,
pub changeset_id: Option<String>,
pub segment_configurations: Option<Vec<KxDataviewSegmentConfiguration>>,
pub description: Option<String>,
pub auto_update: bool,
pub created_timestamp: Option<DateTime>,
pub last_modified_timestamp: Option<DateTime>,
pub status: Option<KxDataviewStatus>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dataview_name: Option<String>A unique identifier for the dataview.
database_name: Option<String>The name of the database where you want to create a dataview.
environment_id: Option<String>A unique identifier for the kdb environment, where you want to create the dataview.
az_mode: Option<KxAzMode>The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
availability_zone_id: Option<String>The identifier of the availability zones.
changeset_id: Option<String>A unique identifier for the changeset.
segment_configurations: Option<Vec<KxDataviewSegmentConfiguration>>The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
description: Option<String>A description of the dataview.
auto_update: boolThe option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
created_timestamp: Option<DateTime>The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
last_modified_timestamp: Option<DateTime>The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
status: Option<KxDataviewStatus>The status of dataview creation.
-
CREATING– The dataview creation is in progress. -
UPDATING– The dataview is in the process of being updated. -
ACTIVE– The dataview is active.
Implementations§
source§impl CreateKxDataviewOutput
impl CreateKxDataviewOutput
sourcepub fn dataview_name(&self) -> Option<&str>
pub fn dataview_name(&self) -> Option<&str>
A unique identifier for the dataview.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database where you want to create a dataview.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
A unique identifier for the kdb environment, where you want to create the dataview.
sourcepub fn az_mode(&self) -> Option<&KxAzMode>
pub fn az_mode(&self) -> Option<&KxAzMode>
The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
sourcepub fn availability_zone_id(&self) -> Option<&str>
pub fn availability_zone_id(&self) -> Option<&str>
The identifier of the availability zones.
sourcepub fn changeset_id(&self) -> Option<&str>
pub fn changeset_id(&self) -> Option<&str>
A unique identifier for the changeset.
sourcepub fn segment_configurations(&self) -> &[KxDataviewSegmentConfiguration]
pub fn segment_configurations(&self) -> &[KxDataviewSegmentConfiguration]
The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .segment_configurations.is_none().
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the dataview.
sourcepub fn auto_update(&self) -> bool
pub fn auto_update(&self) -> bool
The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn last_modified_timestamp(&self) -> Option<&DateTime>
pub fn last_modified_timestamp(&self) -> Option<&DateTime>
The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn status(&self) -> Option<&KxDataviewStatus>
pub fn status(&self) -> Option<&KxDataviewStatus>
The status of dataview creation.
-
CREATING– The dataview creation is in progress. -
UPDATING– The dataview is in the process of being updated. -
ACTIVE– The dataview is active.
source§impl CreateKxDataviewOutput
impl CreateKxDataviewOutput
sourcepub fn builder() -> CreateKxDataviewOutputBuilder
pub fn builder() -> CreateKxDataviewOutputBuilder
Creates a new builder-style object to manufacture CreateKxDataviewOutput.
Trait Implementations§
source§impl Clone for CreateKxDataviewOutput
impl Clone for CreateKxDataviewOutput
source§fn clone(&self) -> CreateKxDataviewOutput
fn clone(&self) -> CreateKxDataviewOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateKxDataviewOutput
impl Debug for CreateKxDataviewOutput
source§impl PartialEq for CreateKxDataviewOutput
impl PartialEq for CreateKxDataviewOutput
source§fn eq(&self, other: &CreateKxDataviewOutput) -> bool
fn eq(&self, other: &CreateKxDataviewOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateKxDataviewOutput
impl RequestId for CreateKxDataviewOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.