libZSservicesZSamazonka-kinesis-firehoseZSamazonka-kinesis-firehose
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Firehose.Types.HiveJsonSerDe

Description

 
Synopsis

Documentation

data HiveJsonSerDe Source #

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.

See: newHiveJsonSerDe smart constructor.

Constructors

HiveJsonSerDe' 

Fields

  • timestampFormats :: Maybe [Text]

    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. 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.

Instances

Instances details
Eq HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

Read HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

Show HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

Generic HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

Associated Types

type Rep HiveJsonSerDe :: Type -> Type #

NFData HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

Methods

rnf :: HiveJsonSerDe -> () #

Hashable HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

ToJSON HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

FromJSON HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

type Rep HiveJsonSerDe Source # 
Instance details

Defined in Amazonka.Firehose.Types.HiveJsonSerDe

type Rep HiveJsonSerDe = D1 ('MetaData "HiveJsonSerDe" "Amazonka.Firehose.Types.HiveJsonSerDe" "libZSservicesZSamazonka-kinesis-firehoseZSamazonka-kinesis-firehose" 'False) (C1 ('MetaCons "HiveJsonSerDe'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampFormats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newHiveJsonSerDe :: HiveJsonSerDe Source #

Create a value of HiveJsonSerDe with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timestampFormats:HiveJsonSerDe', hiveJsonSerDe_timestampFormats - 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. 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.

hiveJsonSerDe_timestampFormats :: Lens' HiveJsonSerDe (Maybe [Text]) Source #

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. 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.