AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Deserializer

import "github.com/aws/aws-sdk-go/service/firehose"

type Deserializer struct { HiveJsonSerDe *HiveJsonSerDe `type:"structure"` OpenXJsonSerDe *OpenXJsonSerDe `type:"structure"` }

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 (https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-JSON) and the OpenX JSON SerDe (https://github.com/rcongiu/Hive-JSON-Serde).

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.

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.

Method

GoString

func (s Deserializer) GoString() string

GoString returns the string representation

SetHiveJsonSerDe

func (s *Deserializer) SetHiveJsonSerDe(v *HiveJsonSerDe) *Deserializer

SetHiveJsonSerDe sets the HiveJsonSerDe field's value.

SetOpenXJsonSerDe

func (s *Deserializer) SetOpenXJsonSerDe(v *OpenXJsonSerDe) *Deserializer

SetOpenXJsonSerDe sets the OpenXJsonSerDe field's value.

String

func (s Deserializer) String() string

String returns the string representation

On this page: