pub struct ReferenceDataSource {
pub reference_schema: SourceSchema,
pub s3_reference_data_source: Option<S3ReferenceDataSource>,
pub table_name: String,
}
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
reference_schema: 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.
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.
table_name: String
The name of the in-application table to create.
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 Default for ReferenceDataSource
impl Default for ReferenceDataSource
sourcefn default() -> ReferenceDataSource
fn default() -> ReferenceDataSource
Returns the “default value” for a type. Read more
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 !=
.
sourceimpl Serialize for ReferenceDataSource
impl Serialize for ReferenceDataSource
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