Class OpenXJsonInputFormatProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.OpenXJsonInputFormatProps.Jsii$Proxy
All Implemented Interfaces:
OpenXJsonInputFormatProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
OpenXJsonInputFormatProps

@Stability(Stable) @Internal public static final class OpenXJsonInputFormatProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OpenXJsonInputFormatProps
An implementation for OpenXJsonInputFormatProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(OpenXJsonInputFormatProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OpenXJsonInputFormatProps.Builder.
  • Method Details

    • getColumnToJsonKeyMappings

      public final Map<String,String> getColumnToJsonKeyMappings()
      Description copied from interface: OpenXJsonInputFormatProps
      Maps column names to JSON keys that aren't identical to the column names.

      This is useful when the JSON contains keys that are Hive keywords. For example, timestamp is a Hive keyword. If you have a JSON key named timestamp, set this parameter to {"ts": "timestamp"} to map this key to a column named ts

      Default: JSON keys are not renamed

      Specified by:
      getColumnToJsonKeyMappings in interface OpenXJsonInputFormatProps
    • getConvertDotsInJsonKeysToUnderscores

      public final Boolean getConvertDotsInJsonKeysToUnderscores()
      Description copied from interface: OpenXJsonInputFormatProps
      When set to true, specifies that the names of the keys include dots and that you want Firehose to replace them with underscores.

      This is useful because Apache Hive does not allow dots in column names. For example, if the JSON contains a key whose name is "a.b", you can define the column name to be "a_b" when using this option.

      Default: `false`

      Specified by:
      getConvertDotsInJsonKeysToUnderscores in interface OpenXJsonInputFormatProps
    • getLowercaseColumnNames

      public final Boolean getLowercaseColumnNames()
      Description copied from interface: OpenXJsonInputFormatProps
      Whether the JSON keys should be lowercased when written as column names.

      Default: `true`

      Specified by:
      getLowercaseColumnNames in interface OpenXJsonInputFormatProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object