Struct aws_sdk_glue::model::PartitionIndexDescriptor
source · #[non_exhaustive]pub struct PartitionIndexDescriptor { /* private fields */ }Expand description
A descriptor for a partition index in a table.
Implementations§
source§impl PartitionIndexDescriptor
impl PartitionIndexDescriptor
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the partition index.
sourcepub fn keys(&self) -> Option<&[KeySchemaElement]>
pub fn keys(&self) -> Option<&[KeySchemaElement]>
A list of one or more keys, as KeySchemaElement structures, for the partition index.
sourcepub fn index_status(&self) -> Option<&PartitionIndexStatus>
pub fn index_status(&self) -> Option<&PartitionIndexStatus>
The status of the partition index.
The possible statuses are:
-
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
-
ACTIVE: The index creation succeeds.
-
FAILED: The index creation fails.
-
DELETING: The index is deleted from the list of indexes.
sourcepub fn backfill_errors(&self) -> Option<&[BackfillError]>
pub fn backfill_errors(&self) -> Option<&[BackfillError]>
A list of errors that can occur when registering partition indexes for an existing table.
source§impl PartitionIndexDescriptor
impl PartitionIndexDescriptor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PartitionIndexDescriptor.
Trait Implementations§
source§impl Clone for PartitionIndexDescriptor
impl Clone for PartitionIndexDescriptor
source§fn clone(&self) -> PartitionIndexDescriptor
fn clone(&self) -> PartitionIndexDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PartitionIndexDescriptor
impl Debug for PartitionIndexDescriptor
source§impl PartialEq<PartitionIndexDescriptor> for PartitionIndexDescriptor
impl PartialEq<PartitionIndexDescriptor> for PartitionIndexDescriptor
source§fn eq(&self, other: &PartitionIndexDescriptor) -> bool
fn eq(&self, other: &PartitionIndexDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.