Interface Deserializer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Deserializer.Builder,Deserializer>, SdkBuilder<Deserializer.Builder,Deserializer>, SdkPojo
Enclosing class:
Deserializer

public static interface Deserializer.Builder extends SdkPojo, CopyableBuilder<Deserializer.Builder,Deserializer>
  • Method Details

    • openXJsonSerDe

      Deserializer.Builder openXJsonSerDe(OpenXJsonSerDe openXJsonSerDe)

      The OpenX SerDe. 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 native Hive / HCatalog JsonSerDe.

      Parameters:
      openXJsonSerDe - The OpenX SerDe. 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 native Hive / HCatalog JsonSerDe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openXJsonSerDe

      default Deserializer.Builder openXJsonSerDe(Consumer<OpenXJsonSerDe.Builder> openXJsonSerDe)

      The OpenX SerDe. 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 native Hive / HCatalog JsonSerDe.

      This is a convenience method that creates an instance of the OpenXJsonSerDe.Builder avoiding the need to create one manually via OpenXJsonSerDe.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to openXJsonSerDe(OpenXJsonSerDe).

      Parameters:
      openXJsonSerDe - a consumer that will call methods on OpenXJsonSerDe.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hiveJsonSerDe

      Deserializer.Builder hiveJsonSerDe(HiveJsonSerDe hiveJsonSerDe)

      The native Hive / HCatalog JsonSerDe. 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.

      Parameters:
      hiveJsonSerDe - The native Hive / HCatalog JsonSerDe. 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hiveJsonSerDe

      default Deserializer.Builder hiveJsonSerDe(Consumer<HiveJsonSerDe.Builder> hiveJsonSerDe)

      The native Hive / HCatalog JsonSerDe. 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.

      This is a convenience method that creates an instance of the HiveJsonSerDe.Builder avoiding the need to create one manually via HiveJsonSerDe.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hiveJsonSerDe(HiveJsonSerDe).

      Parameters:
      hiveJsonSerDe - a consumer that will call methods on HiveJsonSerDe.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: