AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Firehose::Types::Serializer

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Serializer as input to an Aws::Client method, you can use a vanilla Hash:

{
  parquet_ser_de: {
    block_size_bytes: 1,
    page_size_bytes: 1,
    compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
    enable_dictionary_compression: false,
    max_padding_bytes: 1,
    writer_version: "V1", # accepts V1, V2
  },
  orc_ser_de: {
    stripe_size_bytes: 1,
    block_size_bytes: 1,
    row_index_stride: 1,
    enable_padding: false,
    padding_tolerance: 1.0,
    compression: "NONE", # accepts NONE, ZLIB, SNAPPY
    bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
    bloom_filter_false_positive_probability: 1.0,
    dictionary_key_threshold: 1.0,
    format_version: "V0_11", # accepts V0_11, V0_12
  },
}

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 and the Parquet SerDe.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#orc_ser_deTypes::OrcSerDe

A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see Apache ORC.

Returns:

  • (Types::OrcSerDe)

    A serializer to use for converting data to the ORC format before storing it in Amazon S3.

#parquet_ser_deTypes::ParquetSerDe

A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.

Returns:

  • (Types::ParquetSerDe)

    A serializer to use for converting data to the Parquet format before storing it in Amazon S3.