@Stability(value=Stable)
public static interface CfnDeliveryStream.HiveJsonSerDeProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;
HiveJsonSerDeProperty hiveJsonSerDeProperty = HiveJsonSerDeProperty.builder()
.timestampFormats(List.of("timestampFormats"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeliveryStream.HiveJsonSerDeProperty.Builder
A builder for
CfnDeliveryStream.HiveJsonSerDeProperty |
static class |
CfnDeliveryStream.HiveJsonSerDeProperty.Jsii$Proxy
An implementation for
CfnDeliveryStream.HiveJsonSerDeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeliveryStream.HiveJsonSerDeProperty.Builder |
builder() |
default List<String> |
getTimestampFormats()
Indicates how you want Kinesis Data Firehose to parse the date and timestamps that may be present in your input data JSON.
|
@Stability(value=Stable) @Nullable default List<String> getTimestampFormats()
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.
@Stability(value=Stable) static CfnDeliveryStream.HiveJsonSerDeProperty.Builder builder()
Copyright © 2022. All rights reserved.