#[non_exhaustive]pub struct InputSchemaUpdate {
pub record_format_update: Option<RecordFormat>,
pub record_encoding_update: Option<String>,
pub record_column_updates: Option<Vec<RecordColumn>>,
}Expand description
Describes updates for an SQL-based Kinesis Data Analytics application's input schema.
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.record_format_update: Option<RecordFormat>Specifies the format of the records on the streaming source.
record_encoding_update: Option<String>Specifies the encoding of the records in the streaming source; for example, UTF-8.
record_column_updates: Option<Vec<RecordColumn>>A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.
Implementations§
source§impl InputSchemaUpdate
impl InputSchemaUpdate
sourcepub fn record_format_update(&self) -> Option<&RecordFormat>
pub fn record_format_update(&self) -> Option<&RecordFormat>
Specifies the format of the records on the streaming source.
sourcepub fn record_encoding_update(&self) -> Option<&str>
pub fn record_encoding_update(&self) -> Option<&str>
Specifies the encoding of the records in the streaming source; for example, UTF-8.
sourcepub fn record_column_updates(&self) -> &[RecordColumn]
pub fn record_column_updates(&self) -> &[RecordColumn]
A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .record_column_updates.is_none().
source§impl InputSchemaUpdate
impl InputSchemaUpdate
sourcepub fn builder() -> InputSchemaUpdateBuilder
pub fn builder() -> InputSchemaUpdateBuilder
Creates a new builder-style object to manufacture InputSchemaUpdate.
Trait Implementations§
source§impl Clone for InputSchemaUpdate
impl Clone for InputSchemaUpdate
source§fn clone(&self) -> InputSchemaUpdate
fn clone(&self) -> InputSchemaUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InputSchemaUpdate
impl Debug for InputSchemaUpdate
source§impl PartialEq for InputSchemaUpdate
impl PartialEq for InputSchemaUpdate
source§fn eq(&self, other: &InputSchemaUpdate) -> bool
fn eq(&self, other: &InputSchemaUpdate) -> bool
self and other values to be equal, and is used
by ==.