Class CfnDeliveryStream.HiveJsonSerDeProperty
The native Hive / HCatalog JsonSerDe.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.KinesisFirehose
Assembly: Amazon.CDK.AWS.KinesisFirehose.dll
Syntax (csharp)
public class HiveJsonSerDeProperty : Object, CfnDeliveryStream.IHiveJsonSerDeProperty
Syntax (vb)
Public Class HiveJsonSerDeProperty
Inherits Object
Implements CfnDeliveryStream.IHiveJsonSerDeProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;
var hiveJsonSerDeProperty = new HiveJsonSerDeProperty {
TimestampFormats = new [] { "timestampFormats" }
};
Synopsis
Constructors
HiveJsonSerDeProperty() |
Properties
TimestampFormats | Indicates how you want Kinesis Data Firehose to parse the date and timestamps that may be present in your input data JSON. |
Constructors
HiveJsonSerDeProperty()
public HiveJsonSerDeProperty()
Properties
TimestampFormats
Indicates how you want Kinesis Data Firehose to parse the date and timestamps that may be present in your input data JSON.
public string[] TimestampFormats { get; set; }
Property Value
System.String[]
Remarks
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.