Interface CfnDeliveryStreamPropsMixin.IHiveJsonSerDeProperty
The native Hive / HCatalog JsonSerDe.
Namespace: Amazon.CDK.Mixins.Preview.AWS.KinesisFirehose.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnDeliveryStreamPropsMixin.IHiveJsonSerDeProperty
Syntax (vb)
Public Interface CfnDeliveryStreamPropsMixin.IHiveJsonSerDeProperty
Remarks
Used by 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.Mixins.Preview.AWS.KinesisFirehose.Mixins;
var hiveJsonSerDeProperty = new HiveJsonSerDeProperty {
TimestampFormats = new [] { "timestampFormats" }
};
Synopsis
Properties
| TimestampFormats | Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. |
Properties
TimestampFormats
Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON.
string[]? TimestampFormats { get; }
Property Value
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, Firehose uses java.sql.Timestamp::valueOf by default.