#[non_exhaustive]pub struct ReferenceDataSource {
pub table_name: Option<String>,
pub s3_reference_data_source: Option<S3ReferenceDataSource>,
pub reference_schema: Option<SourceSchema>,
}
Expand description
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application 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.table_name: Option<String>
The name of the in-application table to create.
s3_reference_data_source: Option<S3ReferenceDataSource>
Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.
reference_schema: Option<SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Implementations
sourceimpl ReferenceDataSource
impl ReferenceDataSource
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the in-application table to create.
sourcepub fn s3_reference_data_source(&self) -> Option<&S3ReferenceDataSource>
pub fn s3_reference_data_source(&self) -> Option<&S3ReferenceDataSource>
Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication
operation to trigger reloading of data into your application.
sourcepub fn reference_schema(&self) -> Option<&SourceSchema>
pub fn reference_schema(&self) -> Option<&SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
sourceimpl ReferenceDataSource
impl ReferenceDataSource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReferenceDataSource
Trait Implementations
sourceimpl Clone for ReferenceDataSource
impl Clone for ReferenceDataSource
sourcefn clone(&self) -> ReferenceDataSource
fn clone(&self) -> ReferenceDataSource
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 ReferenceDataSource
impl Debug for ReferenceDataSource
sourceimpl PartialEq<ReferenceDataSource> for ReferenceDataSource
impl PartialEq<ReferenceDataSource> for ReferenceDataSource
sourcefn eq(&self, other: &ReferenceDataSource) -> bool
fn eq(&self, other: &ReferenceDataSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReferenceDataSource) -> bool
fn ne(&self, other: &ReferenceDataSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReferenceDataSource
Auto Trait Implementations
impl RefUnwindSafe for ReferenceDataSource
impl Send for ReferenceDataSource
impl Sync for ReferenceDataSource
impl Unpin for ReferenceDataSource
impl UnwindSafe for ReferenceDataSource
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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