Class DefaultPartitionEncoders

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

public class DefaultPartitionEncoders extends Object
Provides factory methods for PartitionEncoders.
  • Constructor Details

    • DefaultPartitionEncoders

      public DefaultPartitionEncoders()
  • Method Details

    • protobufPartitionEncoder

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

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

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