Struct aws_sdk_glue::model::PartitionInput
source · [−]#[non_exhaustive]pub struct PartitionInput {
pub values: Option<Vec<String>>,
pub last_access_time: Option<DateTime>,
pub storage_descriptor: Option<StorageDescriptor>,
pub parameters: Option<HashMap<String, String>>,
pub last_analyzed_time: Option<DateTime>,
}
Expand description
The structure used to create and update a partition.
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.values: Option<Vec<String>>
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.
last_access_time: Option<DateTime>
The last time at which the partition was accessed.
storage_descriptor: Option<StorageDescriptor>
Provides information about the physical location where the partition is stored.
parameters: Option<HashMap<String, String>>
These key-value pairs define partition parameters.
last_analyzed_time: Option<DateTime>
The last time at which column statistics were computed for this partition.
Implementations
sourceimpl PartitionInput
impl PartitionInput
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.
sourcepub fn last_access_time(&self) -> Option<&DateTime>
pub fn last_access_time(&self) -> Option<&DateTime>
The last time at which the partition was accessed.
sourcepub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
pub fn storage_descriptor(&self) -> Option<&StorageDescriptor>
Provides information about the physical location where the partition is stored.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define partition parameters.
sourcepub fn last_analyzed_time(&self) -> Option<&DateTime>
pub fn last_analyzed_time(&self) -> Option<&DateTime>
The last time at which column statistics were computed for this partition.
sourceimpl PartitionInput
impl PartitionInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PartitionInput
Trait Implementations
sourceimpl Clone for PartitionInput
impl Clone for PartitionInput
sourcefn clone(&self) -> PartitionInput
fn clone(&self) -> PartitionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PartitionInput
impl Debug for PartitionInput
sourceimpl PartialEq<PartitionInput> for PartitionInput
impl PartialEq<PartitionInput> for PartitionInput
sourcefn eq(&self, other: &PartitionInput) -> bool
fn eq(&self, other: &PartitionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PartitionInput) -> bool
fn ne(&self, other: &PartitionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PartitionInput
Auto Trait Implementations
impl RefUnwindSafe for PartitionInput
impl Send for PartitionInput
impl Sync for PartitionInput
impl Unpin for PartitionInput
impl UnwindSafe for PartitionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more