Struct aws_sdk_firehose::model::Deserializer
source · [−]#[non_exhaustive]pub struct Deserializer {
pub open_x_json_ser_de: Option<OpenXJsonSerDe>,
pub hive_json_ser_de: Option<HiveJsonSerDe>,
}
Expand description
The deserializer you want Kinesis Data Firehose to use for converting the input data from JSON. Kinesis Data Firehose then serializes the data to its final format using the Serializer
. Kinesis Data Firehose supports two types of deserializers: the Apache Hive JSON SerDe and the OpenX JSON SerDe.
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.open_x_json_ser_de: Option<OpenXJsonSerDe>
The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
hive_json_ser_de: Option<HiveJsonSerDe>
The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
Implementations
sourceimpl Deserializer
impl Deserializer
sourcepub fn open_x_json_ser_de(&self) -> Option<&OpenXJsonSerDe>
pub fn open_x_json_ser_de(&self) -> Option<&OpenXJsonSerDe>
The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
sourcepub fn hive_json_ser_de(&self) -> Option<&HiveJsonSerDe>
pub fn hive_json_ser_de(&self) -> Option<&HiveJsonSerDe>
The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
sourceimpl Deserializer
impl Deserializer
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Deserializer
Trait Implementations
sourceimpl Clone for Deserializer
impl Clone for Deserializer
sourcefn clone(&self) -> Deserializer
fn clone(&self) -> Deserializer
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 Deserializer
impl Debug for Deserializer
sourceimpl PartialEq<Deserializer> for Deserializer
impl PartialEq<Deserializer> for Deserializer
sourcefn eq(&self, other: &Deserializer) -> bool
fn eq(&self, other: &Deserializer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Deserializer) -> bool
fn ne(&self, other: &Deserializer) -> bool
This method tests for !=
.
impl StructuralPartialEq for Deserializer
Auto Trait Implementations
impl RefUnwindSafe for Deserializer
impl Send for Deserializer
impl Sync for Deserializer
impl Unpin for Deserializer
impl UnwindSafe for Deserializer
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