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.

HiveJsonSerDe

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

type HiveJsonSerDe struct { TimestampFormats []*string `type:"list"` }

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.

TimestampFormats

Type: []*string

Indicates how you want Kinesis Data Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see Class DateTimeFormat (https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html). You can also use the special value millis to parse timestamps in epoch milliseconds. If you don't specify a format, Kinesis Data Firehose uses java.sql.Timestamp::valueOf by default.

Method

GoString

func (s HiveJsonSerDe) GoString() string

GoString returns the string representation

SetTimestampFormats

func (s *HiveJsonSerDe) SetTimestampFormats(v []*string) *HiveJsonSerDe

SetTimestampFormats sets the TimestampFormats field's value.

String

func (s HiveJsonSerDe) String() string

String returns the string representation

On this page: