#[non_exhaustive]pub struct ReferenceDataSource {
pub table_name: 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: StringThe 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§
source§impl ReferenceDataSource
impl ReferenceDataSource
sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &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.
source§impl ReferenceDataSource
impl ReferenceDataSource
sourcepub fn builder() -> ReferenceDataSourceBuilder
pub fn builder() -> ReferenceDataSourceBuilder
Creates a new builder-style object to manufacture ReferenceDataSource.
Trait Implementations§
source§impl Clone for ReferenceDataSource
impl Clone for ReferenceDataSource
source§fn clone(&self) -> ReferenceDataSource
fn clone(&self) -> ReferenceDataSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReferenceDataSource
impl Debug for ReferenceDataSource
source§impl PartialEq for ReferenceDataSource
impl PartialEq for ReferenceDataSource
source§fn eq(&self, other: &ReferenceDataSource) -> bool
fn eq(&self, other: &ReferenceDataSource) -> bool
self and other values to be equal, and is used
by ==.