Interface HiveJsonInputFormatProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HiveJsonInputFormatProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)", date="2025-10-24T13:34:40.967Z") @Stability(Stable) public interface HiveJsonInputFormatProps extends software.amazon.jsii.JsiiSerializable
Props for Hive JSON input format for data record format conversion.

Example:

 HiveJsonInputFormat inputFormat = HiveJsonInputFormat.Builder.create()
         .timestampParsers(List.of(TimestampParser.fromFormatString("yyyy-MM-dd"), TimestampParser.EPOCH_MILLIS))
         .build();
 
  • Method Details

    • getTimestampParsers

      @Stability(Stable) @Nullable default List<TimestampParser> getTimestampParsers()
      List of TimestampParsers.

      These are used to parse custom timestamp strings from input JSON into dates.

      Note: Specifying a parser will override the default timestamp parser. If the default timestamp parser is required, include TimestampParser.DEFAULT in the list of parsers along with the custom parser.

      Default: the default timestamp parser is used

    • builder

      @Stability(Stable) static HiveJsonInputFormatProps.Builder builder()
      Returns:
      a HiveJsonInputFormatProps.Builder of HiveJsonInputFormatProps