#[non_exhaustive]pub struct GetKxDataviewOutput {Show 14 fields
pub database_name: Option<String>,
pub dataview_name: 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 active_versions: Option<Vec<KxDataviewActiveVersion>>,
pub description: Option<String>,
pub auto_update: bool,
pub environment_id: Option<String>,
pub created_timestamp: Option<DateTime>,
pub last_modified_timestamp: Option<DateTime>,
pub status: Option<KxDataviewStatus>,
pub status_reason: Option<String>,
/* 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.database_name: Option<String>The name of the database where you created the dataview.
dataview_name: Option<String>A unique identifier for 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 of the changeset that you want to use to ingest data.
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.
active_versions: Option<Vec<KxDataviewActiveVersion>>The current active changeset versions of the database on the given dataview.
description: Option<String>A description of the dataview.
auto_update: boolThe option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
environment_id: Option<String>A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
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.
status_reason: Option<String>The error message when a failed state occurs.
Implementations§
source§impl GetKxDataviewOutput
impl GetKxDataviewOutput
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database where you created the dataview.
sourcepub fn dataview_name(&self) -> Option<&str>
pub fn dataview_name(&self) -> Option<&str>
A unique identifier for 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 of the changeset that you want to use to ingest data.
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 active_versions(&self) -> &[KxDataviewActiveVersion]
pub fn active_versions(&self) -> &[KxDataviewActiveVersion]
The current active changeset versions of the database on the given dataview.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .active_versions.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 specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
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.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The error message when a failed state occurs.
source§impl GetKxDataviewOutput
impl GetKxDataviewOutput
sourcepub fn builder() -> GetKxDataviewOutputBuilder
pub fn builder() -> GetKxDataviewOutputBuilder
Creates a new builder-style object to manufacture GetKxDataviewOutput.
Trait Implementations§
source§impl Clone for GetKxDataviewOutput
impl Clone for GetKxDataviewOutput
source§fn clone(&self) -> GetKxDataviewOutput
fn clone(&self) -> GetKxDataviewOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetKxDataviewOutput
impl Debug for GetKxDataviewOutput
source§impl PartialEq for GetKxDataviewOutput
impl PartialEq for GetKxDataviewOutput
source§fn eq(&self, other: &GetKxDataviewOutput) -> bool
fn eq(&self, other: &GetKxDataviewOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetKxDataviewOutput
impl RequestId for GetKxDataviewOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.