Class DefaultPartitionDecoders

java.lang.Object
com.here.platform.data.client.converters.DefaultPartitionDecoders

public class DefaultPartitionDecoders extends Object
Provides factory methods for PartitionDecoders.
  • Constructor Details

    • DefaultPartitionDecoders

      public DefaultPartitionDecoders()
  • Method Details

    • protobufPartitionDecoder

      public static PartitionDecoder protobufPartitionDecoder(File schemaZip)
      Returns Protocol buffer PartitionDecoder for the given schema zip file.
      Parameters:
      schemaZip - Protocol buffer schema zip file
      Returns:
      Protocol buffer PartitionDecoder.
    • protobufPartitionDecoder

      public static PartitionDecoder protobufPartitionDecoder(HRN hrn, Settings settings, org.apache.pekko.actor.ActorSystem actorSystem)
      Returns Protocol buffer PartitionDecoder for the schema from the given catalog HRN.
      Parameters:
      hrn - Catalog HRN with Protocol buffer schema.
      actorSystem - Pekko actor system.
      Returns:
      Protocol buffer PartitionDecoder.
    • protobufPartitionDecoder

      public static PartitionDecoder protobufPartitionDecoder(HRN hrn, org.apache.pekko.actor.ActorSystem actorSystem)
      Returns Protocol buffer PartitionDecoder for the schema from the given catalog HRN.
      Parameters:
      hrn - Catalog HRN with Protocol buffer schema.
      actorSystem - Pekko actor system.
      Returns:
      Protocol buffer PartitionDecoder.