Class: Aws::Firehose::Types::Deserializer
- Inherits:
-
Struct
- Object
- Struct
- Aws::Firehose::Types::Deserializer
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-firehose/types.rb
Overview
When making an API call, you may pass Deserializer data as a hash:
{
open_x_json_ser_de: {
convert_dots_in_json_keys_to_underscores: false,
case_insensitive: false,
column_to_json_key_mappings: {
"NonEmptyStringWithoutWhitespace" => "NonEmptyString",
},
},
hive_json_ser_de: {
timestamp_formats: ["NonEmptyString"],
},
}
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].
[1]: cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-JSON [2]: github.com/rcongiu/Hive-JSON-Serde
Instance Attribute Summary collapse
-
#hive_json_ser_de ⇒ Types::HiveJsonSerDe
The native Hive / HCatalog JsonSerDe.
-
#open_x_json_ser_de ⇒ Types::OpenXJsonSerDe
The OpenX SerDe.
Instance Attribute Details
#hive_json_ser_de ⇒ Types::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.
887 888 889 890 891 |
# File 'lib/aws-sdk-firehose/types.rb', line 887 class Deserializer < Struct.new( :open_x_json_ser_de, :hive_json_ser_de) include Aws::Structure end |
#open_x_json_ser_de ⇒ Types::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.
887 888 889 890 891 |
# File 'lib/aws-sdk-firehose/types.rb', line 887 class Deserializer < Struct.new( :open_x_json_ser_de, :hive_json_ser_de) include Aws::Structure end |