Struct aws_sdk_glue::types::PartitionIndexDescriptor
source · #[non_exhaustive]pub struct PartitionIndexDescriptor {
pub index_name: String,
pub keys: Vec<KeySchemaElement>,
pub index_status: PartitionIndexStatus,
pub backfill_errors: Option<Vec<BackfillError>>,
}
Expand description
A descriptor for a partition index in a table.
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.index_name: String
The name of the partition index.
keys: Vec<KeySchemaElement>
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
index_status: 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.
backfill_errors: Option<Vec<BackfillError>>
A list of errors that can occur when registering partition indexes for an existing table.
Implementations§
source§impl PartitionIndexDescriptor
impl PartitionIndexDescriptor
sourcepub fn index_name(&self) -> &str
pub fn index_name(&self) -> &str
The name of the partition index.
sourcepub fn keys(&self) -> &[KeySchemaElement]
pub fn keys(&self) -> &[KeySchemaElement]
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
sourcepub fn index_status(&self) -> &PartitionIndexStatus
pub fn index_status(&self) -> &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) -> &[BackfillError]
pub fn backfill_errors(&self) -> &[BackfillError]
A list of errors that can occur when registering partition indexes for an existing table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .backfill_errors.is_none()
.
source§impl PartitionIndexDescriptor
impl PartitionIndexDescriptor
sourcepub fn builder() -> PartitionIndexDescriptorBuilder
pub fn builder() -> PartitionIndexDescriptorBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PartitionIndexDescriptor
impl Debug for PartitionIndexDescriptor
source§impl PartialEq for PartitionIndexDescriptor
impl PartialEq for PartitionIndexDescriptor
source§fn eq(&self, other: &PartitionIndexDescriptor) -> bool
fn eq(&self, other: &PartitionIndexDescriptor) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartitionIndexDescriptor
Auto Trait Implementations§
impl Freeze for PartitionIndexDescriptor
impl RefUnwindSafe for PartitionIndexDescriptor
impl Send for PartitionIndexDescriptor
impl Sync for PartitionIndexDescriptor
impl Unpin for PartitionIndexDescriptor
impl UnwindSafe for PartitionIndexDescriptor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more