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.

Serializer

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

type Serializer struct { OrcSerDe *OrcSerDe `type:"structure"` ParquetSerDe *ParquetSerDe `type:"structure"` }

The serializer that you want Kinesis Data Firehose to use to convert data to the target format before writing it to Amazon S3. Kinesis Data Firehose supports two types of serializers: the ORC SerDe (https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/orc/OrcSerde.html) and the Parquet SerDe (https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.html).

OrcSerDe

A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see Apache ORC (https://orc.apache.org/docs/).

ParquetSerDe

A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet (https://parquet.apache.org/documentation/latest/).

Method

GoString

func (s Serializer) GoString() string

GoString returns the string representation

SetOrcSerDe

func (s *Serializer) SetOrcSerDe(v *OrcSerDe) *Serializer

SetOrcSerDe sets the OrcSerDe field's value.

SetParquetSerDe

func (s *Serializer) SetParquetSerDe(v *ParquetSerDe) *Serializer

SetParquetSerDe sets the ParquetSerDe field's value.

String

func (s Serializer) String() string

String returns the string representation

Validate

func (s *Serializer) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: