[−][src]Struct rusoto_firehose::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.
Fields
case_insensitive: Option<bool>
When set to true
, which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them.
column_to_json_key_mappings: Option<HashMap<String, String>>
Maps column names to JSON keys that aren't identical to the column names. This is useful when the JSON contains keys that are Hive keywords. For example, timestamp
is a Hive keyword. If you have a JSON key named timestamp
, set this parameter to {"ts": "timestamp"}
to map this key to a column named ts
.
convert_dots_in_json_keys_to_underscores: Option<bool>
When set to true
, specifies that the names of the keys include dots and that you want Kinesis Data Firehose to replace them with underscores. This is useful because Apache Hive does not allow dots in column names. For example, if the JSON contains a key whose name is "a.b", you can define the column name to be "a_b" when using this option.
The default is false
.
Trait Implementations
impl PartialEq<OpenXJsonSerDe> for OpenXJsonSerDe
[src]
fn eq(&self, other: &OpenXJsonSerDe) -> bool
[src]
fn ne(&self, other: &OpenXJsonSerDe) -> bool
[src]
impl Default for OpenXJsonSerDe
[src]
fn default() -> OpenXJsonSerDe
[src]
impl Clone for OpenXJsonSerDe
[src]
fn clone(&self) -> OpenXJsonSerDe
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for OpenXJsonSerDe
[src]
impl Serialize for OpenXJsonSerDe
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for OpenXJsonSerDe
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for OpenXJsonSerDe
impl Sync for OpenXJsonSerDe
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self